| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.63 | 150.92 | 3.07e-4 |
| 100,000 add & poll | 35.09 | 28.50 | 8.68e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.63 | 150.92 | 3.07e-4 |
| 100,000 add & poll | 35.09 | 28.50 | 8.68e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 89.65 | 11.15 | 0.00 |
| 100,000 add randomly | 92.74 | 10.78 | 0.01 |
| 100,000 get | 1.09 | 921.21 | 7.98e-5 |
| 100,000 iterator | 25.76 | 38.82 | 0.00 |
| 100,000 add & delete orderly | 159.43 | 6.27 | 0.02 |
| 100,000 add & delete randomly | 239.83 | 4.17 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 45.01 | 22.22 | 0.01 |
| 100,000 push & shift | 6.24 | 160.17 | 0.01 |
| Native JS Array 100,000 push & shift | 2227.55 | 0.45 | 0.22 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 20.21 | 49.47 | 0.00 |
| 1,000,000 push & pop | 26.85 | 37.24 | 0.01 |
| 1,000,000 push & shift | 27.57 | 36.27 | 0.00 |
| 100,000 push & shift | 2.61 | 382.64 | 4.60e-4 |
| Native JS Array 100,000 push & shift | 2152.90 | 0.46 | 0.22 |
| 100,000 unshift & shift | 2.51 | 398.74 | 3.60e-4 |
| Native JS Array 100,000 unshift & shift | 4376.45 | 0.23 | 0.30 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 86.79 | 11.52 | 0.03 |
| Native JS Map 1,000,000 set | 207.96 | 4.81 | 0.01 |
| Native JS Set 1,000,000 add | 169.32 | 5.91 | 0.02 |
| 1,000,000 set & get | 81.30 | 12.30 | 0.02 |
| Native JS Map 1,000,000 set & get | 272.31 | 3.67 | 0.01 |
| Native JS Set 1,000,000 add & has | 237.78 | 4.21 | 0.02 |
| 1,000,000 ObjKey set & get | 374.05 | 2.67 | 0.06 |
| Native JS Map 1,000,000 ObjKey set & get | 345.51 | 2.89 | 0.06 |
| Native JS Set 1,000,000 ObjKey add & has | 286.45 | 3.49 | 0.05 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 41.60 | 24.04 | 5.38e-4 |
| 100,000 getWords | 81.04 | 12.34 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 299.03 | 3.34 | 0.00 |
| 100,000 add randomly | 364.39 | 2.74 | 0.02 |
| 100,000 get | 1.08 | 921.78 | 8.08e-5 |
| 100,000 iterator | 27.60 | 36.23 | 0.00 |
| 100,000 add & delete orderly | 488.82 | 2.05 | 0.00 |
| 100,000 add & delete randomly | 649.46 | 1.54 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add randomly | 7.76 | 128.90 | 1.09e-4 |
| 10,000 RBTree get randomly | 0.11 | 9328.86 | 5.44e-6 |
| 10,000 RBTree add & delete randomly | 21.72 | 46.04 | 2.07e-4 |
| 10,000 AVLTree add randomly | 27.45 | 36.43 | 3.65e-4 |
| 10,000 AVLTree get randomly | 0.11 | 9432.49 | 4.04e-7 |
| 10,000 AVLTree add & delete randomly | 51.03 | 19.60 | 6.60e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.10 | 1.03e+4 | 1.04e-6 |
| 1,000 addEdge | 6.01 | 166.29 | 1.12e-4 |
| 1,000 getVertex | 0.10 | 1.04e+4 | 1.71e-6 |
| 1,000 getEdge | 23.72 | 42.15 | 0.00 |
| tarjan | 194.37 | 5.14 | 0.00 |
| topologicalSort | 152.91 | 6.54 | 0.02 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 188.44 | 5.31 | 0.04 |
| 1,000,000 unshift | 177.48 | 5.63 | 0.02 |
| 1,000,000 unshift & shift | 161.09 | 6.21 | 0.04 |
| 1,000,000 addBefore | 277.84 | 3.60 | 0.08 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 193.99 | 5.15 | 0.05 |
| 10,000 push & pop | 232.82 | 4.30 | 0.01 |
| 10,000 addBefore | 285.44 | 3.50 | 0.02 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 30.02 | 33.31 | 2.68e-4 |
| 100,000 add & poll | 89.21 | 11.21 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 42.73 | 23.40 | 0.00 |
| 1,000,000 push & pop | 50.52 | 19.79 | 0.02 |