avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly34.5728.930.01
10,000 add & delete randomly80.9112.360.02
10,000 addMany38.8125.760.01
10,000 get32.5830.690.01
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly14.6168.460.00
1,000 add & delete randomly21.5046.510.01
1,000 addMany15.5764.220.01
1,000 get32.9330.360.02
1,000 has26.5537.670.02
1,000 dfs181.645.510.03
1,000 bfs94.8510.540.05
1,000 morris316.073.160.04
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly27.6336.190.01
10,000 add & delete randomly73.1513.670.02
10,000 addMany27.4436.440.01
10,000 get37.0327.010.02
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add113.448.820.02
100,000 add & delete randomly283.313.530.03
100,000 getNode89.3511.190.01
100,000 add & iterator143.956.950.03
comparison
test nametime taken (ms)executions per secsample deviation
SRC PQ 10,000 add0.166180.553.37e-5
CJS PQ 10,000 add0.176004.314.09e-5
MJS PQ 10,000 add0.661512.951.66e-4
SRC PQ 10,000 add & pop3.89256.837.53e-4
CJS PQ 10,000 add & pop4.02248.660.00
MJS PQ 10,000 add & pop3.78264.628.38e-4
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.128625.552.88e-5
1,000 addEdge8.52117.350.00
1,000 getVertex0.051.92e+41.11e-5
1,000 getEdge20.8348.020.00
tarjan195.715.110.02
tarjan all191.985.210.02
topologicalSort155.836.420.03
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set129.787.710.05
1,000,000 Map set276.673.610.03
1,000,000 Set add239.704.170.04
1,000,000 set & get143.966.950.04
1,000,000 Map set & get371.312.690.10
1,000,000 Set add & has247.244.040.05
1,000,000 ObjKey set & get396.422.520.06
1,000,000 Map ObjKey set & get411.402.430.10
1,000,000 Set ObjKey add & has357.452.800.05
heap
test nametime taken (ms)executions per secsample deviation
100,000 add & pop88.9611.240.02
100,000 add & dfs38.8125.770.01
10,000 fib add & pop399.772.500.01
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push264.623.780.08
1,000,000 unshift264.003.790.05
1,000,000 unshift & shift211.894.720.07
1,000,000 insertBefore467.622.140.22
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop260.653.840.04
10,000 insertBefore283.613.530.02
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll10.2997.160.00
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add & pop117.058.540.02
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push15.9662.680.00
1,000,000 push & pop25.9038.610.01
1,000,000 push & shift26.3337.980.00
1,000,000 unshift & shift24.9040.160.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push44.5322.460.01
1,000,000 push & shift92.5710.800.02
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push59.0716.930.02
1,000,000 push & pop52.6818.980.02
trie
test nametime taken (ms)executions per secsample deviation
100,000 push68.4514.610.02
100,000 getWords134.227.450.04