| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.66 | 150.18 | 2.19e-4 |
| 100,000 add & poll | 35.35 | 28.29 | 8.55e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.66 | 150.18 | 2.19e-4 |
| 100,000 add & poll | 35.35 | 28.29 | 8.55e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 83.70 | 11.95 | 4.47e-4 |
| 100,000 add randomly | 85.05 | 11.76 | 0.00 |
| 100,000 get | 112.86 | 8.86 | 0.00 |
| 100,000 iterator | 23.62 | 42.34 | 0.00 |
| 100,000 add & delete orderly | 153.38 | 6.52 | 0.01 |
| 100,000 add & delete randomly | 232.75 | 4.30 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 46.18 | 21.65 | 0.01 |
| 100,000 push & shift | 5.40 | 185.33 | 0.00 |
| Native JS Array 100,000 push & shift | 2273.18 | 0.44 | 0.20 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 20.33 | 49.20 | 0.00 |
| 1,000,000 push & pop | 26.35 | 37.95 | 0.00 |
| 1,000,000 push & shift | 28.83 | 34.68 | 0.00 |
| 100,000 push & shift | 2.55 | 392.71 | 3.48e-4 |
| Native JS Array 100,000 push & shift | 2285.23 | 0.44 | 0.25 |
| 100,000 unshift & shift | 2.53 | 395.88 | 4.03e-4 |
| Native JS Array 100,000 unshift & shift | 4063.57 | 0.25 | 0.22 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 210.30 | 4.76 | 0.03 |
| Native JS Map 1,000,000 set | 217.28 | 4.60 | 0.03 |
| Native JS Set 1,000,000 add | 175.11 | 5.71 | 0.02 |
| 1,000,000 set & get | 231.89 | 4.31 | 0.05 |
| Native JS Map 1,000,000 set & get | 278.86 | 3.59 | 0.03 |
| Native JS Set 1,000,000 add & has | 237.24 | 4.22 | 0.01 |
| 1,000,000 ObjKey set & get | 387.96 | 2.58 | 0.07 |
| Native JS Map 1,000,000 ObjKey set & get | 348.73 | 2.87 | 0.07 |
| Native JS Set 1,000,000 ObjKey add & has | 295.33 | 3.39 | 0.04 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 43.24 | 23.13 | 6.15e-4 |
| 100,000 getWords | 105.06 | 9.52 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 309.91 | 3.23 | 0.01 |
| 100,000 add randomly | 368.42 | 2.71 | 0.00 |
| 100,000 get | 171.25 | 5.84 | 0.00 |
| 100,000 iterator | 26.14 | 38.25 | 0.00 |
| 100,000 add & delete orderly | 511.40 | 1.96 | 0.00 |
| 100,000 add & delete randomly | 687.43 | 1.45 | 0.02 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add randomly | 7.30 | 136.94 | 9.11e-5 |
| 10,000 RBTree get randomly | 12.92 | 77.41 | 1.62e-4 |
| 10,000 RBTree add & delete randomly | 22.42 | 44.60 | 3.28e-4 |
| 10,000 AVLTree add randomly | 28.34 | 35.29 | 3.30e-4 |
| 10,000 AVLTree get randomly | 12.94 | 77.27 | 8.60e-5 |
| 10,000 AVLTree add & delete randomly | 52.35 | 19.10 | 5.13e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.09 | 1.07e+4 | 8.73e-7 |
| 1,000 addEdge | 5.98 | 167.36 | 1.15e-4 |
| 1,000 getVertex | 0.09 | 1.05e+4 | 8.10e-7 |
| 1,000 getEdge | 23.42 | 42.69 | 0.00 |
| tarjan | 210.66 | 4.75 | 0.04 |
| topologicalSort | 152.36 | 6.56 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 196.74 | 5.08 | 0.04 |
| 1,000,000 unshift | 172.87 | 5.78 | 0.01 |
| 1,000,000 unshift & shift | 151.32 | 6.61 | 0.01 |
| 1,000,000 addBefore | 262.75 | 3.81 | 0.07 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 164.52 | 6.08 | 0.03 |
| 10,000 push & pop | 234.45 | 4.27 | 0.01 |
| 10,000 addBefore | 275.79 | 3.63 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 30.74 | 32.53 | 0.00 |
| 100,000 add & poll | 88.16 | 11.34 | 4.14e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 42.80 | 23.37 | 0.01 |
| 1,000,000 push & pop | 48.13 | 20.78 | 0.01 |