Skip to content

Commit

Permalink
fix sha256 napkin math numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
thundergolfer committed Sep 3, 2024
1 parent 8fb52de commit d2fa03c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 82 deletions.
91 changes: 11 additions & 80 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ clap = "*"
jemallocator = "*"
libc = "*"
regex = "*"
sha2 = "0.8"
sha2 = "0.10.7"
crc32fast = "*"
mysql = "*"
criterion = "*"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ to improve accuracy and as hardware improves.
| Fast Serialization `[8]` `[9]`| N/A | 1 GiB/s | 1 ms | 1s |
| Fast Deserialization `[8]` `[9]`| N/A | 1 GiB/s | 1 ms | 1s |
| System Call | 500 ns | N/A | N/A | N/A |
| Hashing, crypto-safe (64 bytes) | 500 ns | 200 MiB/s | 10 ms | 10s |
| Hashing, crypto-safe (64 bytes) | 100 ns | 1 GiB/s | 1 ms | 1s |
| Sequential SSD read (8 KiB) | 1 μs | 4 GiB/s | 200 μs | 200 ms |
| Context Switch `[1] [2]` | 10 μs | N/A | N/A | N/A |
| Sequential SSD write, -fsync (8KiB) | 10 μs | 1 GiB/s | 1 ms | 1s |
Expand Down

0 comments on commit d2fa03c

Please sign in to comment.