heap
test nametime taken (ms)executions per secsample deviation
100,000 add6.34157.781.90e-4
100,000 add & poll31.3931.868.18e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add59.6416.770.00
100,000 add randomly73.6713.570.00
100,000 get89.9111.120.00
100,000 iterator26.0838.340.00
100,000 add & delete orderly145.446.880.00
100,000 add & delete randomly204.814.880.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push40.8424.480.00
100,000 push & shift4.83207.165.59e-4
Native JS Array 100,000 push & shift2376.780.420.34
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push24.7340.440.00
1,000,000 push & pop30.0833.240.00
1,000,000 push & shift30.5332.750.00
100,000 push & shift3.19313.763.01e-4
Native JS Array 100,000 push & shift2184.780.460.19
100,000 unshift & shift2.94339.723.66e-4
Native JS Array 100,000 unshift & shift4196.690.240.37
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set117.778.490.03
Native JS Map 1,000,000 set200.534.990.00
Native JS Set 1,000,000 add172.755.790.03
1,000,000 set & get117.618.500.02
Native JS Map 1,000,000 set & get265.243.770.01
Native JS Set 1,000,000 add & has168.615.930.01
1,000,000 ObjKey set & get325.913.070.04
Native JS Map 1,000,000 ObjKey set & get301.513.320.03
Native JS Set 1,000,000 ObjKey add & has274.473.640.04
trie
test nametime taken (ms)executions per secsample deviation
100,000 push42.9323.298.30e-4
100,000 getWords82.1412.170.00
avl-tree
test nametime taken (ms)executions per secsample deviation
100,000 add231.624.320.00
100,000 add randomly304.233.290.00
100,000 get113.938.780.00
100,000 iterator30.3732.920.00
100,000 add & delete orderly395.022.530.02
100,000 add & delete randomly542.161.840.00
binary-tree-overall
test nametime taken (ms)executions per secsample deviation
10,000 RBTree add randomly6.02166.109.19e-5
10,000 RBTree get randomly7.96125.617.80e-5
10,000 RBTree add & delete randomly16.6660.021.52e-4
10,000 AVLTree add randomly21.6446.211.93e-4
10,000 AVLTree get randomly8.40119.091.34e-4
10,000 AVLTree add & delete randomly40.8424.492.56e-4
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.109892.748.38e-7
1,000 addEdge6.07164.741.70e-4
1,000 getVertex0.052.13e+42.16e-6
1,000 getEdge38.6625.870.02
tarjan208.114.810.01
topologicalSort184.455.420.02
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push218.494.580.04
1,000,000 unshift213.524.680.06
1,000,000 unshift & shift155.826.420.02
1,000,000 addBefore325.793.070.08
singly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push & shift191.945.210.04
10,000 push & pop214.824.660.01
10,000 addBefore247.534.040.00
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add26.6337.561.30e-4
100,000 add & poll76.8213.020.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push38.5825.920.00
1,000,000 push & pop46.0621.710.00