avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly33.2330.090.00
10,000 add & delete randomly71.0714.070.00
10,000 addMany40.8924.454.42e-4
10,000 get28.0035.723.66e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly12.4080.641.37e-4
1,000 add & delete randomly16.1361.988.55e-4
1,000 addMany10.3496.681.34e-4
1,000 get18.6553.638.17e-4
1,000 dfs155.936.416.00e-4
1,000 bfs56.0817.832.98e-4
1,000 morris257.053.890.00
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly28.5335.059.51e-4
10,000 add & delete randomly66.8914.959.60e-4
10,000 addMany30.9432.320.01
10,000 get28.1835.484.43e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add87.9311.370.00
100,000 add & delete randomly218.684.570.01
100,000 getNode99.7410.037.04e-4
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.119305.581.07e-5
1,000 addEdge7.66130.500.00
1,000 getVertex0.052.03e+44.70e-6
1,000 getEdge27.2236.740.01
tarjan186.495.360.01
tarjan all190.285.260.00
topologicalSort157.126.360.00
hash-map
test nametime taken (ms)executions per secsample deviation
10,000 set16.0762.243.45e-4
10,000 set & get34.8328.715.83e-4
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop4.63215.974.24e-5
10,000 fib add & pop380.192.630.07
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift218.864.570.07
1,000,000 unshift & shift171.505.830.02
1,000,000 insertBefore328.273.050.06
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop224.784.450.01
10,000 insertBefore253.693.940.02
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.9883.500.00
priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 add & pop12.6579.048.45e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push231.264.320.04
1,000,000 shift28.0535.650.01
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push48.0120.830.02
1,000,000 push & shift83.3412.000.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push43.2423.130.01
1,000,000 push & pop57.9617.250.02
trie
test nametime taken (ms)executions per secsample deviation
100,000 push58.1217.210.02
100,000 getWords144.396.930.13