avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly48.4220.650.00
10,000 add & delete randomly107.729.280.02
10,000 addMany55.4018.056.22e-4
10,000 get53.8918.560.02
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly17.7556.352.23e-4
1,000 add & delete randomly25.5839.100.01
1,000 addMany19.6550.890.00
1,000 get21.0347.550.01
1,000 has19.8150.480.01
1,000 dfs183.375.450.03
1,000 bfs65.6115.240.02
1,000 morris231.004.330.06
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly49.9620.027.65e-4
10,000 add & delete randomly116.778.560.02
10,000 addMany49.0620.380.01
10,000 get49.0620.387.13e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add83.4211.990.01
100,000 add & delete randomly243.054.110.07
100,000 getNode218.874.570.05
100,000 add & iterator124.228.050.01
comparison
test nametime taken (ms)executions per secsample deviation
SRC PQ 10,000 add0.156710.401.90e-5
CJS PQ 10,000 add0.166407.424.25e-5
MJS PQ 10,000 add0.621602.371.51e-4
SRC PQ 10,000 add & poll3.67272.420.00
CJS PQ 10,000 add & poll3.95252.900.00
MJS PQ 10,000 add & poll3.33300.288.65e-5
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.118958.103.30e-5
1,000 addEdge6.37156.981.96e-4
1,000 getVertex0.052.04e+48.22e-6
1,000 getEdge24.4940.830.00
tarjan235.544.250.04
tarjan all6766.740.150.32
topologicalSort197.525.060.04
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set117.828.490.05
Native Map 1,000,000 set220.924.530.03
Native Set 1,000,000 add187.445.340.02
1,000,000 set & get125.447.970.04
Native Map 1,000,000 set & get300.103.330.06
Native Set 1,000,000 add & has200.884.980.02
1,000,000 ObjKey set & get361.002.770.06
Native Map 1,000,000 ObjKey set & get335.342.980.09
Native Set 1,000,000 ObjKey add & has261.283.830.07
heap
test nametime taken (ms)executions per secsample deviation
100,000 add & poll80.4312.430.00
100,000 add & dfs36.9527.070.00
10,000 fib add & pop386.632.590.05
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push235.154.250.07
1,000,000 unshift245.364.080.08
1,000,000 unshift & shift175.535.700.03
1,000,000 addBefore319.213.130.06
singly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push & shift202.024.950.04
10,000 push & pop228.774.370.04
10,000 addBefore274.253.650.05
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll9.39106.510.00
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add & poll114.368.740.02
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push14.8167.510.00
1,000,000 push & pop25.3439.470.01
100,000 push & shift2.49400.867.97e-4
Native Array 100,000 push & shift2390.920.420.17
100,000 unshift & shift2.48403.146.46e-4
Native Array 100,000 unshift & shift4462.410.220.34
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push51.9919.240.03
100,000 push & shift5.23191.347.00e-4
Native Array 100,000 push & shift2400.960.420.28
Native Array 100,000 push & pop4.36229.521.14e-4
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push43.5522.960.01
1,000,000 push & pop55.2918.090.01
trie
test nametime taken (ms)executions per secsample deviation
100,000 push48.6620.550.00
100,000 getWords95.0910.520.01