test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 7.55 | 132.36 | 2.00e-4 |
100,000 add & poll | 44.17 | 22.64 | 0.00 |
diff --git a/CHANGELOG.md b/CHANGELOG.md index b6db496..d4de88a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. - [Semantic Versioning](https://semver.org/spec/v2.0.0.html) - [`auto-changelog`](https://github.com/CookPete/auto-changelog) -## [v1.52.4](https://github.com/zrwusa/data-structure-typed/compare/v1.51.5...main) (upcoming) +## [v1.52.6](https://github.com/zrwusa/data-structure-typed/compare/v1.51.5...main) (upcoming) ### Changes diff --git a/README.md b/README.md index 5e75843..9654003 100644 --- a/README.md +++ b/README.md @@ -823,43 +823,43 @@ Version 11.7.9 [//]: # (No deletion!!! Start of Replace Section)
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 7.55 | 132.36 | 2.00e-4 |
100,000 add & poll | 44.17 | 22.64 | 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 | 77.03 | 12.98 | 0.00 |
100,000 add randomly | 80.74 | 12.38 | 0.00 |
100,000 get | 111.29 | 8.99 | 0.00 |
100,000 iterator | 24.91 | 40.14 | 0.01 |
100,000 add & delete orderly | 153.12 | 6.53 | 0.00 |
100,000 add & delete randomly | 233.76 | 4.28 | 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 | 43.79 | 22.83 | 0.01 |
100,000 push & shift | 5.09 | 196.54 | 5.29e-4 |
Native JS Array 100,000 push & shift | 2134.49 | 0.47 | 0.18 |
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 | 25.39 | 39.39 | 0.00 |
1,000,000 push & pop | 32.93 | 30.37 | 0.01 |
1,000,000 push & shift | 32.36 | 30.90 | 0.00 |
100,000 push & shift | 3.41 | 293.26 | 3.14e-4 |
Native JS Array 100,000 push & shift | 2309.81 | 0.43 | 0.46 |
100,000 unshift & shift | 3.24 | 308.35 | 3.36e-4 |
Native JS Array 100,000 unshift & shift | 4213.92 | 0.24 | 0.20 |
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 | 107.76 | 9.28 | 0.02 |
Native JS Map 1,000,000 set | 204.81 | 4.88 | 0.02 |
Native JS Set 1,000,000 add | 165.26 | 6.05 | 0.01 |
1,000,000 set & get | 121.13 | 8.26 | 0.02 |
Native JS Map 1,000,000 set & get | 265.52 | 3.77 | 0.01 |
Native JS Set 1,000,000 add & has | 167.98 | 5.95 | 0.01 |
1,000,000 ObjKey set & get | 331.86 | 3.01 | 0.04 |
Native JS Map 1,000,000 ObjKey set & get | 322.12 | 3.10 | 0.05 |
Native JS Set 1,000,000 ObjKey add & has | 267.74 | 3.73 | 0.03 |
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 | 42.79 | 23.37 | 7.76e-4 |
100,000 getWords | 81.82 | 12.22 | 0.00 |
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 | 270.76 | 3.69 | 0.01 |
100,000 add randomly | 326.94 | 3.06 | 0.00 |
100,000 get | 129.13 | 7.74 | 0.00 |
100,000 iterator | 30.96 | 32.30 | 0.00 |
100,000 add & delete orderly | 440.62 | 2.27 | 0.00 |
100,000 add & delete randomly | 589.06 | 1.70 | 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.89 | 145.16 | 9.69e-5 |
10,000 RBTree get randomly | 9.22 | 108.43 | 1.55e-4 |
10,000 RBTree add & delete randomly | 18.70 | 53.46 | 1.16e-4 |
10,000 AVLTree add randomly | 24.45 | 40.91 | 2.06e-4 |
10,000 AVLTree get randomly | 9.77 | 102.34 | 1.09e-4 |
10,000 AVLTree add & delete randomly | 45.71 | 21.88 | 4.07e-4 |
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 | 9817.83 | 9.67e-7 |
1,000 addEdge | 6.18 | 161.72 | 1.55e-4 |
1,000 getVertex | 0.04 | 2.51e+4 | 5.08e-7 |
1,000 getEdge | 22.82 | 43.82 | 0.00 |
tarjan | 211.73 | 4.72 | 0.02 |
topologicalSort | 188.71 | 5.30 | 0.02 |
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 | 212.17 | 4.71 | 0.03 |
1,000,000 unshift | 210.09 | 4.76 | 0.03 |
1,000,000 unshift & shift | 213.41 | 4.69 | 0.07 |
1,000,000 addBefore | 320.83 | 3.12 | 0.07 |
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 | 205.40 | 4.87 | 0.05 |
10,000 push & pop | 220.93 | 4.53 | 0.00 |
10,000 addBefore | 248.19 | 4.03 | 0.01 |
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.55 | 36.30 | 9.81e-4 |
100,000 add & poll | 76.26 | 13.11 | 6.92e-4 |
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 | 44.90 | 22.27 | 0.00 |
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 |