| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 8.07 | 123.93 | 0.00 |
| 100,000 add & poll | 45.32 | 22.07 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 8.07 | 123.93 | 0.00 |
| 100,000 add & poll | 45.32 | 22.07 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 77.03 | 12.98 | 0.00 |
| 100,000 add randomly | 83.26 | 12.01 | 0.00 |
| 100,000 get | 120.25 | 8.32 | 0.01 |
| 100,000 iterator | 26.32 | 37.99 | 0.01 |
| 100,000 add & delete orderly | 161.68 | 6.19 | 0.01 |
| 100,000 add & delete randomly | 268.63 | 3.72 | 0.03 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 45.55 | 21.96 | 0.02 |
| 100,000 push & shift | 5.54 | 180.36 | 0.00 |
| Native JS Array 100,000 push & shift | 2467.71 | 0.41 | 0.20 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 25.36 | 39.43 | 0.00 |
| 1,000,000 push & pop | 32.13 | 31.12 | 0.00 |
| 1,000,000 push & shift | 33.42 | 29.92 | 0.00 |
| 100,000 push & shift | 3.59 | 278.92 | 3.21e-4 |
| Native JS Array 100,000 push & shift | 2427.03 | 0.41 | 0.21 |
| 100,000 unshift & shift | 3.56 | 280.81 | 3.81e-4 |
| Native JS Array 100,000 unshift & shift | 4464.18 | 0.22 | 0.07 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 313.05 | 3.19 | 0.07 |
| Native JS Map 1,000,000 set | 224.48 | 4.45 | 0.05 |
| Native JS Set 1,000,000 add | 203.46 | 4.91 | 0.05 |
| 1,000,000 set & get | 281.79 | 3.55 | 0.07 |
| Native JS Map 1,000,000 set & get | 289.57 | 3.45 | 0.03 |
| Native JS Set 1,000,000 add & has | 195.73 | 5.11 | 0.02 |
| 1,000,000 ObjKey set & get | 348.39 | 2.87 | 0.03 |
| Native JS Map 1,000,000 ObjKey set & get | 315.23 | 3.17 | 0.04 |
| Native JS Set 1,000,000 ObjKey add & has | 335.83 | 2.98 | 0.06 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 48.09 | 20.79 | 0.00 |
| 100,000 getWords | 93.17 | 10.73 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 278.91 | 3.59 | 0.01 |
| 100,000 add randomly | 350.65 | 2.85 | 0.02 |
| 100,000 get | 154.97 | 6.45 | 0.03 |
| 100,000 iterator | 34.78 | 28.75 | 0.02 |
| 100,000 add & delete orderly | 445.45 | 2.24 | 0.00 |
| 100,000 add & delete randomly | 616.61 | 1.62 | 0.03 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add randomly | 7.07 | 141.45 | 7.19e-4 |
| 10,000 RBTree get randomly | 9.33 | 107.21 | 1.48e-4 |
| 10,000 RBTree add & delete randomly | 18.60 | 53.77 | 3.93e-4 |
| 10,000 AVLTree add randomly | 30.39 | 32.91 | 0.01 |
| 10,000 AVLTree get randomly | 10.70 | 93.49 | 0.00 |
| 10,000 AVLTree add & delete randomly | 46.04 | 21.72 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.13 | 7502.53 | 6.69e-5 |
| 1,000 addEdge | 7.93 | 126.13 | 0.00 |
| 1,000 getVertex | 0.05 | 2.19e+4 | 1.17e-5 |
| 1,000 getEdge | 18.65 | 53.61 | 0.00 |
| tarjan | 158.86 | 6.30 | 0.01 |
| topologicalSort | 141.91 | 7.05 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 211.26 | 4.73 | 0.03 |
| 1,000,000 unshift | 216.90 | 4.61 | 0.07 |
| 1,000,000 unshift & shift | 208.45 | 4.80 | 0.05 |
| 1,000,000 addBefore | 316.55 | 3.16 | 0.06 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 222.81 | 4.49 | 0.08 |
| 10,000 push & pop | 235.91 | 4.24 | 0.01 |
| 10,000 addBefore | 250.57 | 3.99 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 27.64 | 36.17 | 8.81e-4 |
| 100,000 add & poll | 75.52 | 13.24 | 9.91e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 40.47 | 24.71 | 0.01 |
| 1,000,000 push & pop | 47.47 | 21.07 | 0.01 |