## Jena 1 vs Jena 2 performance comparison results

The test was begun at Tue Aug 26 18:47:46 2003

Model/Size | Jena 1 | Jena 2 | Speed-up (Slow-down)
--- | --- | --- | ---
Java HotSpot(TM) Client VM 1.4.1-b21 Windows 2000 x86 Write a model containing 'size' subjects - each with two properties - in RDF/XML
Memory / 10 | 4.69 ms | 6.25 ms | (1.3)
Memory / 100 | 10.55 ms | 65.60 ms | (6.2)
Memory / 1000 | 100.00 ms | 178.20 ms | (1.8)
Memory / 10000 | 606.20 ms | 1118.80 ms | (1.8)
Average: Weighted average: | (1.9) (2.1)
MySQL / 10 | 21.10 ms | 71.80 ms | (3.4)
MySQL / 100 | 171.80 ms | 275.00 ms | (1.6)
MySQL / 1000 | 1203.20 ms | 1662.40 ms | (1.4)
MySQL / 10000 | 16446.60 ms | 14302.60 ms | 1.1
Average: Weighted average: | 1.1 (2.0)
Java HotSpot(TM) Client VM 1.4.1-b21 Windows 2000 x86 Use RDQL to query for 'size' resources with a given rdf:type
Memory / 10 | 1.56 ms | 1.47 ms | 1.1
Memory / 100 | 4.69 ms | 3.31 ms | 1.4
Memory / 1000 | 90.60 ms | 62.40 ms | 1.5
Memory / 10000 | 375.00 ms | 228.20 ms | 1.6
Average: Weighted average: | 1.6 1.3
MySQL / 10 | 5.09 ms | 3.31 ms | 1.5
MySQL / 100 | 12.50 ms | 50.00 ms | (4.0)
MySQL / 1000 | 162.40 ms | 121.80 ms | 1.3
MySQL / 10000 | 1000.00 ms | 612.60 ms | 1.6
Average: Weighted average: | 1.5 (1.1)
Java HotSpot(TM) Client VM 1.4.1-b21 Windows 2000 x86 Simple ARP throughput - read 'size' lines of DMOZ input
Memory / 10 | 115.60 ms | 115.60 ms | 1.0
Memory / 100 | 150.00 ms | 140.80 ms | 1.1
Memory / 1000 | 337.40 ms | 240.60 ms | 1.4
Memory / 10000 | 912.40 ms | 703.00 ms | 1.3
Average: Weighted average: | 1.3 1.0
MySQL / 10 | 125.00 ms | 193.80 ms | (1.6)
MySQL / 100 | 459.20 ms | 350.00 ms | 1.3
MySQL / 1000 | 2609.40 ms | 1187.40 ms | 2.2
MySQL / 10000 | 23165.00 ms | 8159.20 ms | 2.8
Average: Weighted average: | 2.7 (1.1)
Java HotSpot(TM) Client VM 1.4.1-b21 Windows 2000 x86 Create a model and add 'size' subjects - each with two properties
Memory / 10 | 0.78 ms | 0.39 ms | 2.0
Memory / 100 | 7.83 ms | 4.89 ms | 1.6
Memory / 1000 | 93.80 ms | 78.20 ms | 1.2
Memory / 10000 | 722.00 ms | 493.60 ms | 1.5
Average: Weighted average: | 1.4 1.5
MySQL / 10 | 112.40 ms | 31.30 ms | 3.6
MySQL / 100 | 784.20 ms | 296.80 ms | 2.6
MySQL / 1000 | 6859.20 ms | 2221.80 ms | 3.1
MySQL / 10000 | 76079.40 ms | 22437.00 ms | 3.4
Average: Weighted average: | 3.4 3.2
Java HotSpot(TM) Client VM 1.4.1-b21 Windows 2000 x86 Walk a chain of 'size' linked statements from beginning to end
Memory / 10 | 0.01 ms | 0.03 ms | (2.0)
Memory / 100 | 0.15 ms | 0.28 ms | (1.9)
Memory / 1000 | 1.76 ms | 3.13 ms | (1.8)
Memory / 10000 | 20.30 ms | 50.00 ms | (2.5)
Average: Weighted average: | (2.4) (2.1)
MySQL / 10 | 8.60 ms | 9.78 ms | (1.1)
MySQL / 100 | 112.40 ms | 103.00 ms | 1.1
MySQL / 1000 | 1031.20 ms | 634.40 ms | 1.6
MySQL / 10000 | 9796.60 ms | 5706.20 ms | 1.7
Average: Weighted average: | 1.7 1.2
Java HotSpot(TM) Client VM 1.4.1-b21 Windows 2000 x86 Dave's performance test - listStatements() in a model with 'size' statements
Memory / 10 | 0.02 ms | 0.18 ms | (10.9)
Memory / 100 | 1.42 ms | 17.20 ms | (12.2)
Average: Weighted average: | (12.1) (12.0)
MySQL / 10 | 9.78 ms | 8.20 ms | 1.2
MySQL / 100 | 562.60 ms | 297.00 ms | 1.9
Average: Weighted average: | 1.9 1.7