avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly28.0135.703.60e-4
10,000 add & delete randomly68.1914.660.00
10,000 addMany34.3729.103.01e-4
10,000 get28.6134.962.81e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly13.7872.579.19e-5
1,000 add & delete randomly21.5046.521.81e-4
1,000 addMany15.9162.851.16e-4
1,000 get18.1655.081.86e-4
1,000 has18.1655.061.82e-4
1,000 dfs161.466.195.35e-4
1,000 bfs56.3217.764.17e-4
1,000 morris257.593.886.92e-4
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly26.9437.122.41e-4
10,000 add & delete randomly69.3314.425.46e-4
10,000 addMany28.1735.503.03e-4
10,000 get31.4031.852.49e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add84.9511.770.00
100,000 add & delete randomly214.084.670.00
100,000 getNode43.2123.143.41e-4
100,000 add & iterator115.988.620.00
comparison
test nametime taken (ms)executions per secsample deviation
SRC PQ 10,000 add0.146958.081.96e-6
CJS PQ 10,000 add0.146945.481.85e-6
MJS PQ 10,000 add0.571758.676.72e-6
SRC PQ 10,000 add & pop3.41293.063.56e-5
CJS PQ 10,000 add & pop3.40293.883.65e-5
MJS PQ 10,000 add & pop3.30302.863.70e-5
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.109990.481.15e-6
1,000 addEdge6.30158.817.72e-4
1,000 getVertex0.052.15e+43.77e-7
1,000 getEdge22.5644.330.00
tarjan213.114.690.01
tarjan all212.234.719.29e-4
topologicalSort170.965.850.00
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set120.978.270.05
1,000,000 Map set217.884.590.03
1,000,000 Set add171.455.830.02
1,000,000 set & get116.498.580.02
1,000,000 Map set & get271.493.680.02
1,000,000 Set add & has173.055.780.02
1,000,000 ObjKey set & get314.333.180.04
1,000,000 Map ObjKey set & get275.933.620.06
1,000,000 Set ObjKey add & has277.403.600.08
heap
test nametime taken (ms)executions per secsample deviation
100,000 add & pop80.1812.470.00
100,000 add & dfs35.4028.250.00
10,000 fib add & pop360.712.770.00
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push242.044.130.04
1,000,000 unshift204.374.890.03
1,000,000 unshift & shift178.895.590.03
1,000,000 insertBefore325.643.070.07
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop216.934.610.02
10,000 insertBefore247.434.040.00
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll8.92112.151.68e-4
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add & pop101.579.850.00
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push13.8372.301.57e-4
1,000,000 push & pop22.7843.904.69e-4
1,000,000 push & shift23.8042.021.75e-4
1,000,000 unshift & shift22.0445.372.74e-4
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push39.1725.530.00
1,000,000 push & shift82.1212.180.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push40.2024.880.01
1,000,000 push & pop49.2720.300.01
trie
test nametime taken (ms)executions per secsample deviation
100,000 push45.2922.086.76e-4
100,000 getWords86.6811.540.00