mirror of
https://github.com/facebook/sapling.git
synced 2024-10-13 02:07:31 +03:00
42c3ef6eb6
Summary: Some simple benchmark for "log". The initial result running from my devserver looks like: log insertion 33.146 ms log insertion with index 106.449 ms log flush 9.623 ms log iteration (memory) 10.644 ms log iteration (disk) 11.517 ms 13.75s user 3.61s system 97% cpu 17.778 total log insertion 27.906 ms log insertion with index 107.683 ms log flush 19.204 ms log iteration (memory) 10.239 ms log iteration (disk) 11.118 ms 12.89s user 3.55s system 97% cpu 16.924 total log insertion 31.645 ms log insertion with index 109.403 ms log flush 9.416 ms log iteration (memory) 10.226 ms log iteration (disk) 10.757 ms 13.07s user 3.02s system 97% cpu 16.423 total log insertion 31.848 ms log insertion with index 109.332 ms log flush 18.345 ms log iteration (memory) 10.709 ms log iteration (disk) 11.346 ms 13.12s user 3.70s system 97% cpu 17.276 total log insertion 29.665 ms log insertion with index 106.041 ms log flush 16.159 ms log iteration (memory) 10.367 ms log iteration (disk) 11.110 ms 12.99s user 3.27s system 97% cpu 16.717 total Reviewed By: markbt Differential Revision: D13015464 fbshipit-source-id: 035fee6c8b6d0bea4cfe194eed3d58ba4b5ebcb8
30 lines
427 B
TOML
30 lines
427 B
TOML
[package]
|
|
name = "indexedlog"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
atomicwrites = "0.2.2"
|
|
byteorder = "1.2.7"
|
|
fs2 = "0.4.3"
|
|
memmap = "0.7.0"
|
|
twox-hash = "*"
|
|
vlqencoding = { path = "../vlqencoding" }
|
|
|
|
[dev-dependencies]
|
|
minibench = { path = "../minibench" }
|
|
quickcheck = "0.6"
|
|
rand = "0.4"
|
|
tempdir = "0.3.7"
|
|
|
|
[[bench]]
|
|
name = "index"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "misc"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "log"
|
|
harness = false
|