[Cosmo-dev] Cosmo UI perf profiling

Mikeal Rogers mikeal at osafoundation.org
Thu Mar 1 21:01:26 PST 2007


On Mar 1, 2007, at 7:42 PM, Matthew Eernisse wrote:

> After some chatter in IRC this morning, and a message to the list  
> from BCM about using the Web UI, I decided to do some Cosmo perf  
> profiling with Firebug. This data is obviously not comprehensive or  
> definitive -- but it's good to get some real data rather than just  
> speculating. The results were pretty interesting.
>

We spent some significant time getting performance number generation  
in to windmill, and adding some application specific hooks so that  
cosmo code could trigger events in windmill that could differentiate  
different event times between automated UI action calls.

Now that windmill is ready and we have tests running we should  
probably get to work on a performance suite and start generating  
numbers at each checkpoint.

> As a BTW, the hundreds of calls to 'convertObject' that deserialize  
> the JSON data are taking a very small amount of the render time --  
> 2%-3.5%.
>

I would be really interested to see the difference in how long this  
operation takes in other browsers, particularly IE.

>
> It does not seem that converting the JSON data to Arrays (instead  
> of the Objects we have now) will speed up the deserialization time  
> -- however it should reduce the size of the JSON payload since  
> you're only sending values instead of keywords/values. It might be  
> good to do some quick tests to see what the difference is in  
> request time for Objects versus Arrays, but I imagine converting  
> the JSON to Arrays would speed request time up at least some.
>

What happened to the gzip work that I saw being done. Nothing would  
cut our payload down more than using gzip, but does anyone know  
offhand how much time decompression of gzip takes in the browser?

-Mikeal


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20070301/ca54093b/PGP.pgp


More information about the cosmo-dev mailing list