Re: [PHP] Comparative performance

2008-11-14 Thread Robert Cummings
On Fri, 2008-11-14 at 12:12 +, Richard Heyes wrote: > Hi, > > Can I get input on the following: > > Uncompressed library: 15k > Compressed library, but using the PHP engine (ie ob_start()): 3.5k > > Which would be better? Obviously from the client perspective > compressed would be better, bu

Re: [PHP] Comparative performance

2008-11-14 Thread Rene Veerman
Richard Heyes wrote: What do you mean by compressed lib? JS? Javascript minification and HTTP gzip compression. Doing this got a 25k+ library down to 3.5k (!). then definately cache the result (on disk!) (both plaintext and gzip), output the cached result each time you can. overhead

Re: [PHP] Comparative performance

2008-11-14 Thread Richard Heyes
> What do you mean by compressed lib? JS? Javascript minification and HTTP gzip compression. Doing this got a 25k+ library down to 3.5k (!). -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 1st) -- PHP General Mailing List (http://www.p

Re: [PHP] Comparative performance

2008-11-14 Thread Rene Veerman
Richard Heyes wrote: Hi, Can I get input on the following: Uncompressed library: 15k Compressed library, but using the PHP engine (ie ob_start()): 3.5k Which would be better? Obviously from the client perspective compressed would be better, but from the servers perspective...? An increase in t

[PHP] Comparative performance

2008-11-14 Thread Richard Heyes
Hi, Can I get input on the following: Uncompressed library: 15k Compressed library, but using the PHP engine (ie ob_start()): 3.5k Which would be better? Obviously from the client perspective compressed would be better, but from the servers perspective...? An increase in the amount of time to pu