xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thijs.rov...@relate4u.com
Subject storeResource performance
Date Wed, 22 Sep 2004 13:05:26 GMT
Hello,

I'm currently developing an application that generates a large number of 
XML-files (200 files, each about 250/300kb) and stores it in Xindice using 
Collection.storeResource. This takes quite some time (5-6 minutes).

So I created a test to see if I did something wrong. I tested the duration 
and speed of adding files of different sizes. These are the results:

Time taken for 26.0 kb: 297.0 ms (11.423077 ms/kb)
Time taken for 52.0 kb: 172.0 ms (3.3076923 ms/kb)
Time taken for 78.0 kb: 219.0 ms (2.8076923 ms/kb)
Time taken for 105.0 kb: 406.0 ms (3.8666666 ms/kb)
Time taken for 131.0 kb: 438.0 ms (3.3435113 ms/kb)
Time taken for 157.0 kb: 328.0 ms (2.089172 ms/kb)
Time taken for 183.0 kb: 531.0 ms (2.9016395 ms/kb)
Time taken for 209.0 kb: 625.0 ms (2.9904306 ms/kb)
Time taken for 235.0 kb: 656.0 ms (2.7914894 ms/kb)
Time taken for 262.0 kb: 750.0 ms (2.8625953 ms/kb)
Time taken for 288.0 kb: 797.0 ms (2.7673612 ms/kb)
Time taken for 314.0 kb: 984.0 ms (3.133758 ms/kb)
Time taken for 340.0 kb: 890.0 ms (2.6176472 ms/kb)
Time taken for 366.0 kb: 1063.0 ms (2.9043715 ms/kb)
Time taken for 392.0 kb: 969.0 ms (2.4719388 ms/kb)
Time taken for 419.0 kb: 1110.0 ms (2.6491647 ms/kb)
Time taken for 445.0 kb: 1203.0 ms (2.7033708 ms/kb)
Time taken for 471.0 kb: 1187.0 ms (2.5201697 ms/kb)
Time taken for 497.0 kb: 1235.0 ms (2.4849095 ms/kb)

Can somebody tell me if this is normal?  Or am I doing something wrong? 

Best regards, 
Thijs Rovers

Mime
View raw message