heap
test nametime taken (ms)sample mean (secs)sample deviation
100,000 add3.010.001.05e-4
100,000 add & poll16.570.024.12e-4
avl-tree
test nametime taken (ms)sample mean (secs)sample deviation
100,000 add randomly276.060.280.00
100,000 add247.110.250.01
100,000 get0.282.82e-49.27e-5
100,000 getNode168.470.170.01
100,000 iterator12.840.010.00
100,000 add & delete orderly385.640.390.00
100,000 add & delete randomly501.310.500.01
red-black-tree
test nametime taken (ms)sample mean (secs)sample deviation
100,000 add randomly78.510.080.00
100,000 add104.830.100.00
100,000 get0.535.26e-47.38e-5
100,000 getNode249.020.250.01
100,000 node mode add randomly77.150.080.00
100,000 node mode get253.610.250.01
100,000 iterator13.230.010.00
100,000 add & delete orderly226.810.230.00
100,000 add & delete randomly325.560.330.00
doubly-linked-list
test nametime taken (ms)sample mean (secs)sample deviation
1,000,000 push109.120.110.02
1,000,000 unshift105.650.110.01
1,000,000 unshift & shift96.200.100.01
1,000,000 addBefore157.940.160.03
directed-graph
test nametime taken (ms)sample mean (secs)sample deviation
1,000 addVertex0.054.73e-51.24e-6
1,000 addEdge2.960.009.68e-5
1,000 getVertex0.054.70e-51.27e-6
1,000 getEdge44.920.040.01
tarjan257.570.260.02
topologicalSort207.120.210.01
queue
test nametime taken (ms)sample mean (secs)sample deviation
1,000,000 push25.860.030.01
100,000 push & shift2.520.000.00
Native JS Array 100,000 push & shift902.250.900.00
deque
test nametime taken (ms)sample mean (secs)sample deviation
1,000,000 push10.140.010.00
1,000,000 push & pop14.130.010.01
1,000,000 push & shift13.350.010.01
100,000 push & shift1.340.006.86e-4
Native JS Array 100,000 push & shift904.800.900.01
100,000 unshift & shift1.210.005.28e-4
Native JS Array 100,000 unshift & shift1801.731.800.01
hash-map
test nametime taken (ms)sample mean (secs)sample deviation
1,000,000 set48.910.050.02
Native JS Map 1,000,000 set141.210.140.02
Native JS Set 1,000,000 add116.730.120.03
1,000,000 set & get40.730.040.01
Native JS Map 1,000,000 set & get196.240.200.02
Native JS Set 1,000,000 add & has158.720.160.02
1,000,000 ObjKey set & get242.770.240.08
Native JS Map 1,000,000 ObjKey set & get231.610.230.09
Native JS Set 1,000,000 ObjKey add & has177.410.180.05
trie
test nametime taken (ms)sample mean (secs)sample deviation
100,000 push21.200.020.00
100,000 getWords39.180.040.00
stack
test nametime taken (ms)sample mean (secs)sample deviation
1,000,000 push22.120.020.01
1,000,000 push & pop25.510.030.01