Skip to content

Commit

Permalink
doc: slimtrie: update benchmark report
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Sep 11, 2019
1 parent 2268462 commit 0d63a8b
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 46 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ The more dense a key set is, the less memory a trie-like data structure costs.

| key-count | k=64 | k=128 | k=256 |
|-----------|------|-------|-------|
| 1000 | 16 | 16 | 16 |
| 2000 | 13 | 13 | 13 |
| 5000 | 14 | 14 | 14 |
| 1000 | 23 | 23 | 23 |
| 10000 | 12 | 12 | 12 |
| 100000 | 9 | 10 | 14 |
| 1000000 | 11 | 11 | 11 |


## Performance benchmark
Expand Down
12 changes: 4 additions & 8 deletions trie/report/bench_get_absent.data
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
key-count k=64 k=128 k=256
1 36 36 35
10 52 62 58
100 85 88 87
1000 103 110 113
2000 123 122 122
5000 134 130 133
10000 130 144 161
20000 197 214 232
1000 83 71 95
10000 112 89 97
100000 87 125 79
1000000 117 126 138
Binary file modified trie/report/bench_get_absent.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 6 additions & 10 deletions trie/report/bench_get_absent.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
| KEYCOUNT | K64 | K128 | K256 |
|----------|-----|------|------|
| 1 | 36 | 36 | 35 |
| 10 | 52 | 62 | 58 |
| 100 | 85 | 88 | 87 |
| 1000 | 103 | 110 | 113 |
| 2000 | 123 | 122 | 122 |
| 5000 | 134 | 130 | 133 |
| 10000 | 130 | 144 | 161 |
| 20000 | 197 | 214 | 232 |
| key-count | k=64 | k=128 | k=256 |
|-----------|------|-------|-------|
| 1000 | 83 | 71 | 95 |
| 10000 | 112 | 89 | 97 |
| 100000 | 87 | 125 | 79 |
| 1000000 | 117 | 126 | 138 |
9 changes: 4 additions & 5 deletions trie/report/bench_get_present.data
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
key-count k=64 k=128 k=256
100 65 67 65
1000 89 82 88
10000 104 91 95
100000 113 112 106
1000000 123 118 122
1000 79 74 76
10000 94 96 99
100000 78 80 77
1000000 101 115 104
Binary file modified trie/report/bench_get_present.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions trie/report/bench_get_present.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
| key-count | k=64 | k=128 | k=256 |
|-----------|------|-------|-------|
| 100 | 65 | 67 | 65 |
| 1000 | 89 | 82 | 88 |
| 10000 | 104 | 91 | 95 |
| 100000 | 113 | 112 | 106 |
| 1000000 | 123 | 118 | 122 |
| 1000 | 79 | 74 | 76 |
| 10000 | 94 | 96 | 99 |
| 100000 | 78 | 80 | 77 |
| 1000000 | 101 | 115 | 104 |
8 changes: 4 additions & 4 deletions trie/report/fpr_get.data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
key-count fpr
1000 28.834%
10000 33.147%
20000 26.642%
key-count fpr
1000 0.005%
10000 0.000%
20000 0.000%
Binary file modified trie/report/fpr_get.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions trie/report/fpr_get.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| KeyCount | FPR |
|----------|---------|
| 1000 | 28.834% |
| 10000 | 33.147% |
| 20000 | 26.642% |
| key-count | fpr |
|-----------|--------|
| 1000 | 0.005% |
| 10000 | 0.000% |
| 20000 | 0.000% |
7 changes: 4 additions & 3 deletions trie/report/mem_usage.data
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
key-count k=64 k=128 k=256
1000 16 16 16
2000 13 13 13
5000 14 14 14
1000 23 23 23
10000 12 12 12
100000 9 10 14
1000000 11 11 11
Binary file modified trie/report/mem_usage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions trie/report/mem_usage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| key-count | k=64 | k=128 | k=256 |
|-----------|------|-------|-------|
| 1000 | 16 | 16 | 16 |
| 2000 | 13 | 13 | 13 |
| 5000 | 14 | 14 | 14 |
| 1000 | 23 | 23 | 23 |
| 10000 | 12 | 12 | 12 |
| 100000 | 9 | 10 | 14 |
| 1000000 | 11 | 11 | 11 |

0 comments on commit 0d63a8b

Please sign in to comment.