heap
test nametime taken (ms)executions per secsample deviation
100,000 add6.49154.001.90e-4
100,000 add & poll35.7927.940.01
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add85.3011.727.38e-4
100,000 add randomly84.7711.800.00
100,000 get113.748.790.00
100,000 iterator24.5140.800.00
100,000 add & delete orderly152.176.570.01
100,000 add & delete randomly240.784.150.01
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push44.1622.640.01
100,000 push & shift6.08164.580.00
Native JS Array 100,000 push & shift2240.740.450.17
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push20.7548.190.00
1,000,000 push & pop26.8537.240.00
1,000,000 push & shift27.5636.280.00
100,000 push & shift2.61382.754.11e-4
Native JS Array 100,000 push & shift2388.650.420.15
100,000 unshift & shift2.50399.533.59e-4
Native JS Array 100,000 unshift & shift4343.520.230.30
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set87.1211.480.02
Native JS Map 1,000,000 set211.634.730.03
Native JS Set 1,000,000 add167.625.970.01
1,000,000 set & get78.9112.670.02
Native JS Map 1,000,000 set & get295.473.380.03
Native JS Set 1,000,000 add & has267.223.740.07
1,000,000 ObjKey set & get378.262.640.06
Native JS Map 1,000,000 ObjKey set & get344.042.910.06
Native JS Set 1,000,000 ObjKey add & has277.873.600.04
trie
test nametime taken (ms)executions per secsample deviation
100,000 push42.6723.448.55e-4
100,000 getWords82.5112.120.00
avl-tree
test nametime taken (ms)executions per secsample deviation
100,000 add307.423.259.13e-4
100,000 add randomly373.752.680.01
100,000 get172.235.810.00
100,000 iterator25.9038.610.00
100,000 add & delete orderly509.581.960.00
100,000 add & delete randomly690.441.450.02
binary-tree-overall
test nametime taken (ms)executions per secsample deviation
10,000 RBTree add randomly7.45134.140.00
10,000 RBTree get randomly13.0376.741.43e-4
10,000 RBTree add & delete randomly22.6244.211.83e-4
10,000 AVLTree add randomly28.4435.162.71e-4
10,000 AVLTree get randomly13.0276.811.05e-4
10,000 AVLTree add & delete randomly54.4618.360.00
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.101.01e+48.01e-7
1,000 addEdge6.06165.032.89e-4
1,000 getVertex0.101.05e+49.35e-7
1,000 getEdge23.8042.020.00
tarjan193.595.170.01
topologicalSort148.996.710.01
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push191.055.230.04
1,000,000 unshift186.385.370.06
1,000,000 unshift & shift151.276.610.00
1,000,000 addBefore267.573.740.07
singly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push & shift163.016.130.03
10,000 push & pop246.054.060.04
10,000 addBefore275.543.630.01
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add30.5432.750.00
100,000 add & poll89.2011.210.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push40.4224.740.00
1,000,000 push & pop47.9020.880.01