diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1c6da92e..3e5b148f 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.41.4](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...main) (upcoming)
+## [v1.41.5](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...main) (upcoming)
### Changes
diff --git a/README.md b/README.md
index d32b2f32..9cc3d124 100644
--- a/README.md
+++ b/README.md
@@ -654,6 +654,40 @@ inherit the existing data structures to implement the customized ones you need.
optimal approach to data structure design.
## Benchmark
+
+
avl-tree
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 add randomly | 2.22 | 449.77 | 23 | 0.00 | 2.65e-5 |
1000 add & delete randomly | 11.58 | 86.37 | 5 | 0.01 | 5.00e-4 |
1000 addMany | 3.10 | 322.62 | 17 | 0.00 | 1.23e-4 |
1000 get | 24.91 | 40.14 | 3 | 0.02 | 7.25e-4 |
+
+
binary-tree
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 add randomly | 13.05 | 76.62 | 5 | 0.01 | 3.58e-4 |
1000 add & delete randomly | 15.76 | 63.44 | 4 | 0.02 | 1.24e-4 |
1000 addMany | 10.67 | 93.68 | 5 | 0.01 | 6.84e-4 |
1000 get | 23.72 | 42.15 | 3 | 0.02 | 2.74e-4 |
1000 dfs | 72.32 | 13.83 | 1 | 0.07 | 7.21e-4 |
1000 bfs | 54.98 | 18.19 | 1 | 0.05 | 6.62e-4 |
1000 morris | 37.33 | 26.79 | 2 | 0.04 | 3.72e-4 |
+
+
bst
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 add randomly | 2.34 | 427.09 | 22 | 0.00 | 2.19e-5 |
1000 add & delete randomly | 13.21 | 75.70 | 4 | 0.01 | 3.61e-4 |
1000 addMany | 2.23 | 449.06 | 24 | 0.00 | 4.38e-5 |
1000 get | 25.81 | 38.75 | 2 | 0.03 | 6.13e-4 |
+
+
directed-graph
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 addVertex | 0.10 | 9761.68 | 498 | 1.02e-4 | 1.73e-6 |
1000 addEdge | 6.40 | 156.27 | 9 | 0.01 | 5.45e-4 |
1000 getVertex | 0.05 | 2.17e+4 | 1094 | 4.61e-5 | 2.85e-7 |
1000 getEdge | 22.10 | 45.25 | 3 | 0.02 | 0.00 |
tarjan | 209.19 | 4.78 | 1 | 0.21 | 0.01 |
tarjan all | 211.22 | 4.73 | 1 | 0.21 | 0.00 |
topologicalSort | 170.38 | 5.87 | 1 | 0.17 | 0.00 |
+
+
heap
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 add & pop | 0.34 | 2921.82 | 149 | 3.42e-4 | 3.19e-6 |
1000 fib add & pop | 3.93 | 254.62 | 14 | 0.00 | 7.82e-5 |
+
+
doubly-linked-list
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000000 unshift | 218.29 | 4.58 | 1 | 0.22 | 0.07 |
1000000 unshift & shift | 168.88 | 5.92 | 1 | 0.17 | 0.03 |
1000 insertBefore | 0.03 | 3.72e+4 | 1904 | 2.69e-5 | 4.13e-7 |
+
+
singly-linked-list
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 push & pop | 1.77 | 564.34 | 30 | 0.00 | 5.91e-5 |
1000 insertBefore | 2.31 | 432.88 | 22 | 0.00 | 5.53e-5 |
+
+
max-priority-queue
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
10000 refill & poll | 11.42 | 87.54 | 5 | 0.01 | 1.63e-4 |
+
+
deque
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000000 push | 223.27 | 4.48 | 1 | 0.22 | 0.03 |
1000000 shift | 24.66 | 40.55 | 3 | 0.02 | 0.00 |
+
+
queue
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000000 push | 43.10 | 23.20 | 2 | 0.04 | 0.01 |
1000000 push & shift | 79.89 | 12.52 | 1 | 0.08 | 0.00 |
+
+
trie
+
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
100000 push | 54.81 | 18.24 | 1 | 0.05 | 0.00 |
100000 getWords | 94.93 | 10.53 | 1 | 0.09 | 0.01 |
+
avl-tree
test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
---|
1000 add randomly | 2.18 | 458.66 | 24 | 0.00 | 2.36e-5 |
1000 add & delete randomly | 11.07 | 90.33 | 5 | 0.01 | 1.53e-4 |
1000 addMany | 2.89 | 346.20 | 18 | 0.00 | 2.52e-5 |
1000 get | 24.19 | 41.34 | 3 | 0.02 | 1.67e-4 |