sptk



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SPTK site is updated



Dear friend,

SPTK SVN is updated.

Here are the compare results for SPTK versions 3.2 and 3.3 (SVN). The
tests were conducted using examples/xml/xml_test2.cpp. The Windows
machine used 2GB of RAM and 3.4GHz Intel processor. The compiler used
was VC++ 7. The Linux machine used 512MB of RAM and Dual Core 1.83GHz
processor (only one core used). The compiler was gcc 4.1.1. The test
creates 500K nodes, writes them to the file, reads them from the file. 

  Operation 
 SPTK 3.2.2,
   Windows 
  SPTK 3.3,
   Windows 
 SPTK 3.2.2,
    Linux 
  SPTK 3.3,
    Linux 
Create 500K
nodes
2.02 sec 
0.74 sec 
0.69 sec 
0.39 sec 
Save 500K
nodes to
buffer
18.81 sec 
16.08 sec 
2.05 sec 
0.48 sec 
Load 500K
nodes from
buffer
18.45 sec 
2.09 sec 
5.15 sec 
1.31 sec 
sizeof(CXmlNode) 
20 
16 
20 
16 
Memory
allocated for
500K nodes 
87.7 Mb 
51.2 MB 
33 Mb 
33 Mb 



This optimization was completed on Windows machine. Of course, it also
speeds up test on Linux, but the goal was to bring Windows results as
high as possible.


SPTK development team


List hosted by Total Knowledge

Authoright © Total Knowledge: 2005