| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 7.51 | 133.17 | 1.36e-4 |
| 100,000 add & poll | 44.25 | 22.60 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 7.51 | 133.17 | 1.36e-4 |
| 100,000 add & poll | 44.25 | 22.60 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 76.98 | 12.99 | 0.00 |
| 100,000 add randomly | 80.96 | 12.35 | 0.00 |
| 100,000 get | 111.72 | 8.95 | 0.00 |
| 100,000 iterator | 29.58 | 33.81 | 0.00 |
| 100,000 add & delete orderly | 153.21 | 6.53 | 0.00 |
| 100,000 add & delete randomly | 233.26 | 4.29 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 42.18 | 23.71 | 0.01 |
| 100,000 push & shift | 5.16 | 193.66 | 7.47e-4 |
| Native JS Array 100,000 push & shift | 2386.29 | 0.42 | 0.30 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 23.59 | 42.40 | 0.00 |
| 1,000,000 push & pop | 31.93 | 31.32 | 0.00 |
| 1,000,000 push & shift | 33.12 | 30.19 | 0.00 |
| 100,000 push & shift | 3.50 | 285.57 | 9.51e-4 |
| Native JS Array 100,000 push & shift | 2211.26 | 0.45 | 0.34 |
| 100,000 unshift & shift | 3.41 | 292.89 | 5.52e-4 |
| Native JS Array 100,000 unshift & shift | 4343.81 | 0.23 | 0.25 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 259.74 | 3.85 | 0.07 |
| Native JS Map 1,000,000 set | 208.35 | 4.80 | 0.02 |
| Native JS Set 1,000,000 add | 167.66 | 5.96 | 0.01 |
| 1,000,000 set & get | 260.46 | 3.84 | 0.04 |
| Native JS Map 1,000,000 set & get | 265.09 | 3.77 | 0.02 |
| Native JS Set 1,000,000 add & has | 169.15 | 5.91 | 0.01 |
| 1,000,000 ObjKey set & get | 317.23 | 3.15 | 0.04 |
| Native JS Map 1,000,000 ObjKey set & get | 304.84 | 3.28 | 0.04 |
| Native JS Set 1,000,000 ObjKey add & has | 278.30 | 3.59 | 0.05 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 43.93 | 22.76 | 5.95e-4 |
| 100,000 getWords | 82.18 | 12.17 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 275.72 | 3.63 | 0.00 |
| 100,000 add randomly | 332.35 | 3.01 | 0.00 |
| 100,000 get | 129.56 | 7.72 | 0.00 |
| 100,000 iterator | 32.03 | 31.22 | 0.01 |
| 100,000 add & delete orderly | 447.87 | 2.23 | 0.00 |
| 100,000 add & delete randomly | 605.40 | 1.65 | 0.03 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add randomly | 6.91 | 144.82 | 1.13e-4 |
| 10,000 RBTree get randomly | 9.08 | 110.14 | 7.72e-5 |
| 10,000 RBTree add & delete randomly | 18.97 | 52.71 | 8.49e-4 |
| 10,000 AVLTree add randomly | 24.97 | 40.05 | 4.34e-4 |
| 10,000 AVLTree get randomly | 9.95 | 100.47 | 0.00 |
| 10,000 AVLTree add & delete randomly | 45.96 | 21.76 | 5.77e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.10 | 9730.42 | 1.39e-6 |
| 1,000 addEdge | 6.01 | 166.32 | 9.47e-5 |
| 1,000 getVertex | 0.04 | 2.59e+4 | 3.52e-7 |
| 1,000 getEdge | 23.80 | 42.03 | 0.00 |
| tarjan | 215.66 | 4.64 | 0.01 |
| topologicalSort | 187.85 | 5.32 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 197.45 | 5.06 | 0.03 |
| 1,000,000 unshift | 214.02 | 4.67 | 0.08 |
| 1,000,000 unshift & shift | 198.97 | 5.03 | 0.05 |
| 1,000,000 addBefore | 315.44 | 3.17 | 0.05 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 196.91 | 5.08 | 0.04 |
| 10,000 push & pop | 222.29 | 4.50 | 0.01 |
| 10,000 addBefore | 248.87 | 4.02 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 27.69 | 36.11 | 8.96e-4 |
| 100,000 add & poll | 75.38 | 13.27 | 6.45e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 39.19 | 25.52 | 0.00 |
| 1,000,000 push & pop | 45.24 | 22.10 | 0.00 |