Account Options>

  1. Sign in
ChipmunkJS benchmarks
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
$
%
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
|
 
Still loading...
ABCDEFGHIJKLMNOPQRST
1
Benchmarks, 200 steps.C, clang 2.1NodeJS 0.6.5
2
Time in ms, running on my macbook air.v0.0.0Keeping verts in applyImpulseinline vectors in applyImpulseCustom math.min/maxInlined all bounding boxes, some vects.Inlined body.vInlined cpArbiter vbn=...Inline polygon vects and tVectsFix return 0 bug in collision
3
SimpleTerrainCircles 10003,12318,42917,57610,3219,1967,9237,7247,7137551.6666677,917
4
SimpleTerrainCircles 5001,3065,6905,2693,2903,0062,7972,7262,72526772,799
5
SimpleTerrainCircles 100166608564405377353345342340.3333333364
6
SimpleTerrainBoxes 10006,31341,60540,52330,85828,49026,08025,91825,08525227.3333320,733
7
SimpleTerrainBoxes 5001,99510,86010,3146,8736,1735,8715,8835,7575690.3333334,543
8
SimpleTerrainBoxes 100250948930716664651650640632.6666667517
9
SimpleTerrainHexagons 10005,23130,04629,54624,37322,28020,68020,27820,1971967515,648
10
SimpleTerrainHexagons 5002,09110,50710,1466,9476,1915,8625,8875,76056594,716
11
SimpleTerrainHexagons 100280926903721677654654646635.3333333537
12
SimpleTerrainVCircles 2005202,0001,9291,4351,3361,2851,2751,2771267.3333331,083
13
SimpleTerrainVBoxes 2007262,8842,7872,1061,9581,8961,8961,8781886.6666671,472
14
SimpleTerrainVHexagons 2008332,9962,9122,2682,0842,0152,0451,9931979.6666671,588
15
ComplexTerrainCircles 10003,15719,00018,48513,01411,6309,8719,9339,71496508,253
16
ComplexTerrainHexagons 10005,69333,39532,47726,32225,37122,43722,13021,50121296.6666717,378
17
BouncyTerrainCircles 5003672,3152,2952,1601,9311,7491,7401,75917281,747
18
BouncyTerrainHexagons 5005673,5393,4913,2412,8892,6882,7002,67125572,268
19
NoCollide9687071615353535254
20
PyramidTopple4,9715000.66666750603478.666667
21
https://github.com/josephg/Chipmunk-js/commit/916ded66c65240034596e65b58d8b76ee6483686#diff-5https://github.com/josephg/Chipmunk-js/commit/df20a8aa9573e0e24722a85d0236bf048cad3906https://github.com/josephg/Chipmunk-js/commit/6c6ad9a023fd8dc944b0eef31c7a4f4905759e1bhttps://github.com/josephg/Chipmunk-js/commit/bf6afad3c3be3e47b4cd0586a7e531f2decdb644https://github.com/josephg/Chipmunk-js/commit/fee633fb733e396068ffe940d8159a1eed898aca
22
23
Time taken % compared to previous test590.09%95.37%58.72%89.10%86.16%97.49%99.85%97.91%104.83%0.00%
24
435.71%92.60%62.45%91.36%93.06%97.44%99.96%98.25%104.54%0.00%
25
366.27%92.76%71.87%93.09%93.46%97.92%99.13%99.42%107.05%0.00%
26
659.04%97.40%76.15%92.33%91.54%99.38%96.79%100.57%82.18%0.00%
27
544.38%94.97%66.64%89.81%95.11%100.20%97.86%98.84%79.84%0.00%
28
379.33%98.03%77.02%92.78%97.99%99.90%98.41%98.85%81.66%0.00%
29
574.38%98.34%82.49%91.41%92.82%98.05%99.60%97.42%79.53%0.00%
30
502.50%96.56%68.47%89.12%94.69%100.42%97.85%98.25%83.33%0.00%
31
330.60%97.52%79.84%93.99%96.56%100.05%98.78%98.30%84.58%0.00%
32
384.62%96.43%74.42%93.10%96.16%99.22%100.18%99.22%85.48%0.00%
33
397.20%96.65%75.57%92.97%96.83%99.98%99.05%100.48%78.00%0.00%
34
359.70%97.19%77.87%91.90%96.71%101.47%97.47%99.31%80.23%0.00%
35
601.83%97.29%70.40%89.36%84.88%100.62%97.80%99.34%85.52%0.00%
36
586.60%97.25%81.05%96.39%88.44%98.63%97.16%99.05%81.60%0.00%
37
630.70%99.16%94.09%89.41%90.59%99.45%101.13%98.22%101.08%0.00%
38
624.10%98.64%92.84%89.15%93.04%100.46%98.91%95.73%88.71%0.00%
39
764.04%102.45%102.39%85.05%86.81%100.63%99.37%98.73%103.85%0.00%
40
41
Time taken compared to previous version513.59%96.98%77.19%91.20%92.64%99.49%98.78%98.70%88.94%0.00%
42
Average time taken compared to C implementation513.59%498.07%384.47%350.62%324.81%323.15%319.22%315.06%280.23%0.00%
43
44
Number of object allocations, benchmark[0], 50 runs
45
vects2089715017974581797458753244702243
46
contact7745977459774597745977459
47
node5004550045500455004550045
48
leaf10471047104710471047
49
bb11212241121224112122400
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1