avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly33.0930.224.32e-4
10,000 add & delete randomly74.1213.490.00
10,000 addMany41.7123.970.00
10,000 get28.3735.252.37e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly14.5068.961.33e-4
1,000 add & delete randomly16.2061.722.03e-4
1,000 addMany10.5195.128.76e-5
1,000 get18.2854.691.82e-4
1,000 dfs157.236.367.06e-4
1,000 bfs58.0617.220.01
1,000 morris256.363.900.00
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly30.4832.814.13e-4
10,000 add & delete randomly71.8413.920.00
10,000 addMany29.5433.855.25e-4
10,000 get30.5332.750.01
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add90.8911.000.00
100,000 CPT add50.6519.740.00
100,000 add & delete randomly230.084.350.02
100,000 getNode38.9725.665.82e-4
100,000 add & iterator118.328.450.01
comparison
test nametime taken (ms)executions per secsample deviation
SRC PQ 10,000 add0.146939.331.74e-6
CJS PQ 10,000 add0.156881.641.91e-6
MJS PQ 10,000 add0.571745.921.60e-5
CPT PQ 10,000 add0.571744.711.01e-5
SRC PQ 10,000 add & pop3.51284.936.79e-4
CJS PQ 10,000 add & pop3.42292.554.04e-5
MJS PQ 10,000 add & pop3.41293.385.11e-5
CPT PQ 10,000 add & pop2.09478.762.28e-5
CPT OM 100,000 add43.2223.140.00
CPT HM 10,000 set0.581721.251.85e-5
CPT HM 10,000 set & get0.681477.311.26e-5
CPT LL 1,000,000 unshift81.3812.290.02
CPT PQ 10,000 add & pop2.10476.501.60e-4
CPT DQ 1,000,000 push22.5144.420.00
CPT Q 1,000,000 push47.8520.900.01
CPT ST 1,000,000 push42.5423.510.01
CPT ST 1,000,000 push & pop50.0819.970.00
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.119501.346.10e-6
1,000 addEdge6.35157.556.69e-4
1,000 getVertex0.052.14e+42.50e-6
1,000 getEdge25.0039.990.01
tarjan219.464.560.01
tarjan all218.154.580.00
topologicalSort176.835.660.00
hash-map
test nametime taken (ms)executions per secsample deviation
1,000,000 set254.463.930.04
1,000,000 CPT set251.213.980.03
1,000,000 Map set211.274.730.01
1,000,000 Set add175.155.710.02
1,000,000 set & get370.542.700.11
1,000,000 CPT set & get283.343.530.07
1,000,000 Map set & get287.093.480.04
1,000,000 Set add & has190.505.250.01
1,000,000 ObjKey set & get880.471.140.10
1,000,000 Map ObjKey set & get334.472.990.05
1,000,000 Set ObjKey add & has310.123.220.06
heap
test nametime taken (ms)executions per secsample deviation
100,000 add & pop80.1312.480.00
100,000 add & dfs35.0828.500.00
10,000 fib add & pop367.842.720.01
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 push237.284.210.07
1,000,000 CPT push75.6613.220.03
1,000,000 unshift226.384.420.05
1,000,000 CPT unshift93.3410.710.07
1,000,000 unshift & shift188.345.310.05
1,000,000 insertBefore329.603.030.05
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop221.324.520.01
10,000 insertBefore255.523.910.01
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll9.07110.242.71e-4
priority-queue
test nametime taken (ms)executions per secsample deviation
100,000 add & pop101.939.817.95e-4
100,000 CPT add & pop28.5435.040.00
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push14.4369.292.36e-4
1,000,000 CPT push25.0839.870.01
1,000,000 push & pop22.8743.726.05e-4
1,000,000 push & shift25.2839.550.01
1,000,000 unshift & shift21.8845.712.05e-4
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push38.4925.989.08e-4
1,000,000 CPT push43.9322.760.01
1,000,000 push & shift82.8512.070.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push40.1924.880.01
1,000,000 CPT push39.8725.080.00
1,000,000 push & pop41.6724.000.01
1,000,000 CPT push & pop46.6521.440.00
trie
test nametime taken (ms)executions per secsample deviation
100,000 push43.4223.037.57e-4
100,000 getWords93.4110.710.00