avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly30.0533.286.97e-4
10,000 add & delete randomly72.6113.770.00
10,000 addMany35.1828.439.64e-4
10,000 get30.0233.315.36e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly14.7267.921.85e-4
1,000 add & delete randomly18.5553.903.16e-4
1,000 addMany13.4074.620.00
1,000 get18.7053.473.85e-4
1,000 has19.2851.870.00
1,000 dfs158.146.320.01
1,000 bfs56.9817.558.96e-4
1,000 morris260.833.830.00
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly26.6137.586.20e-4
10,000 add & delete randomly68.6414.570.00
10,000 addMany25.6538.998.34e-5
10,000 get33.1130.210.02
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add85.6111.680.00
100,000 add & delete randomly214.044.670.01
100,000 getNode154.496.474.10e-4
100,000 add & iterator115.208.680.00
comparison
test nametime taken (ms)executions per secsample deviation
SRC PQ 10,000 add0.166447.353.77e-5
CJS PQ 10,000 add0.156865.395.18e-6
MJS PQ 10,000 add0.581737.031.95e-5
SRC PQ 10,000 add & pop3.44290.596.14e-5
CJS PQ 10,000 add & pop3.43291.485.86e-5
MJS PQ 10,000 add & pop4.29233.181.71e-4
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.109639.133.31e-6
1,000 addEdge6.21161.122.90e-4
1,000 getVertex0.052.13e+41.42e-6
1,000 getEdge27.3436.570.01
tarjan228.624.370.01
tarjan all241.474.140.05
topologicalSort193.235.180.02
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set116.858.560.04
1,000,000 Map set216.074.630.02
1,000,000 Set add173.915.750.01
1,000,000 set & get124.878.010.04
1,000,000 Map set & get323.103.100.04
1,000,000 Set add & has180.325.550.02
1,000,000 ObjKey set & get335.512.980.07
1,000,000 Map ObjKey set & get310.643.220.06
1,000,000 Set ObjKey add & has271.153.690.05
heap
test nametime taken (ms)executions per secsample deviation
100,000 add & pop79.4312.590.00
100,000 add & dfs34.7828.750.00
10,000 fib add & pop356.182.810.00
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push222.754.490.05
1,000,000 unshift235.704.240.06
1,000,000 unshift & shift179.265.580.04
1,000,000 insertBefore340.922.930.07
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop213.004.690.01
10,000 insertBefore248.654.020.01
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll9.15109.234.05e-4
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add & pop102.309.780.00
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push14.5868.591.47e-4
1,000,000 push & pop23.4442.671.85e-4
1,000,000 push & shift24.5140.801.39e-4
1,000,000 unshift & shift22.7843.910.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push39.3625.410.01
1,000,000 push & shift81.8112.220.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push38.8925.720.00
1,000,000 push & pop44.2122.620.01
trie
test nametime taken (ms)executions per secsample deviation
100,000 push44.2222.610.00
100,000 getWords89.3111.200.00