1
0
mirror of https://github.com/taigrr/bitcask synced 2025-01-18 04:03:17 -08:00

Updated README on Performance Benchmarks

This commit is contained in:
James Mills 2019-03-13 07:42:50 +10:00
parent 904f6b19a0
commit 108cb54cb2
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -61,11 +61,12 @@ Benchmarks run on a 11" Macbook with a 1.4Ghz Intel Core i7:
```
$ make bench
...
BenchmarkGet-4 50000 33185 ns/op 600 B/op 14 allocs/op
BenchmarkPut-4 100000 16757 ns/op 699 B/op 7 allocs/op
BenchmarkGet-4 300000 5065 ns/op 144 B/op 4 allocs/op
BenchmarkPut-4 100000 14640 ns/op 699 B/op 7 allocs/op
```
* ~30,000 reads/sec
* ~30,000 reads/sec for non-active data
* ~180,000 reads/sec for active data
* ~60,000 writes/sec
## License