[Etoys] zip optimization results

karl karl.ramberg at comhem.se
Thu Apr 10 16:58:54 EDT 2008


Bert Freudenberg wrote:
> On 10.04.2008, at 06:05, Ties Stuij wrote:
>   
>> Hey!
>>
>> I got some interesting results from fiddling with various project
>> zipping strategies on the XO.
>>
>> Basically using only the unzipped project file, big projects load
>> about 3 times faster than the doubly zipped alternative (where the
>> project zip bundle is not compressed); which is the way project files
>> are stored now.
>>     
>
> Cool!
>
>   
>> Numbers are in seconds, horizontally we see the zipping methods and
>> vertically three different projects. On a clean 3.0 image, loaded with
>> our customizations and luke's speed patch.
>>
>>      pr     pr.gz.zip0   pr.zip0  pr.zip     pr.gz
>> tr   37       1:20       1:29      1:29       46
>> c10  30       1:15       1:23      1:23       40
>> shp  18         30         32        36       20
>>
>> where tr, c10, shp are different projects
>>
>> pr = non-gzipped stand-alone .pr file
>> pr.gz.zip0 = gzipped .pr file in uncompressed zip archive
>> pr.zip0 = non-gzipped .pr file in uncompressed zip archive
>> pr.zip = non-gzipped .pr file in compressed zip archive
>> pr.gz = gzipped stand-alone .pr file
>>     
>
>
> I just reformatted your table for my own understanding. So apparently  
> avoiding the zip-archive part is paramount for performance. We should  
> figure out what's actually taking so long there ...
>
> - Bert -
It would be interesting to see how much time it takes to save projects 
with the different compressions, too.

Karl


More information about the Etoys mailing list