Saturday, February 13, 2010
Flex client/server performance
Time for some performance testing, comparing three different protocols:
- SOAP marshaled into ActionScript class-based objects
- RESTful/JSON marshaled into dynamic objects (using as3corlib for JSON decoding)
- RESTful/XML marshaled into the ObjectProxy objects that Flex 3 creates by default
Basic results - the above list shows the performance ranking, SOAP being 3X to 7X slower than the RESTful/XML case.
JSON decoding added approx 20% overhead - presumably because it all happens in AS3 code rather than in native code.
The other thing that stood out - increasing the object graph depth caused an exponential increase in processing time, even though there was only a linear increase in the number of objects in the graph.
Another advantage of the RESTful/XML case is that the ObjectProxy objects created are directly bindable by the Flex UI controls, so if you can live with 'duck-typing' no further marshaling is required.
Later, on a different test setup, the speed of AMF3 was tested, and it was a little faster, with the added advantage (to some) that it was marshaling into class-based objects. (It also handles object graphs better because it uses server-side instance folding). But its a binary format with a limited user base.
Conclusions for now - another strike against SOAP in this environment, RESTful/XML ends up being a pretty compromise in performance and usefulness in the UI.
Monday, November 23, 2009
rgg_20091027_084712
I hadn't emptied out the 'point & shoot' for a couple of weeks, found some pleasant "surprises" in the images. here's a photo of an autumn morning fog bank
Sunday, September 27, 2009
20090926-191601-compare-4up
i was experimenting with HDR imaging recently, and came up with 4 different renderings of the same image. its clear I need to learn how to control Photomatix Pro! But in the end I was able to get a more interesting and realistic rendering using PSCS4 and the Local Adaptation conversion.
Sunday, September 13, 2009
Tuesday, September 8, 2009
Epson 2200 in Snow Leopard
- install the 'latest' Epson drivers and the 'common updater' found for the printer. ( see http://www.epson.com/cgi-bin/Store/support/SupportSnowLeopard.jsp)
- using System Preferences: Print & Fax panel, delete the existing Epson printer defined there.
- in the Print & Fax panel, add a new printer - select the Epson printer (already connected and powered up) and select the Epson driver for it.
- the old color profiles are in /Library/ColorSync/Profiles, yet for some reason InDesign only wants to read them from /Library/Application Support/Adobe/Color/Profiles. One way to fix this is simply to copy the profiles you want into the Adobe folder. (Another way that may work is to put an alias or a symlink to the ColorSync directory. )
Saturday, January 3, 2009
rgg_20081130_124908-hdr
I've been experimenting with HDR photography lately, and one foggy morning I used it to attempt an image I had seen for awhile but had never quite captured - the autumn yellow of the big leaf maple in a conifer forest. This particular morning the fog was just starting to burn through the top of the forest, and gave me enough glow to work with.
Location:
Ted Olson Nature Preserve, Bainbridge Island, WA



