feat(tvix/eval): Add initial benchmarking infrastructure
Bootstrap some (initially very simple, mostly proof-of-concept) benchmarking infrastructure using Criterion, using the newly-exposed lib from tvix-eval. Change-Id: I4bb93c142ba8d018d7e67e58ac8907a0429398a5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6156 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi>
This commit is contained in:
parent
f648cec78e
commit
0c4c307926
3 changed files with 574 additions and 6 deletions
|
|
@ -9,9 +9,14 @@ edition = "2021"
|
|||
rnix = "0.10.2"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3.6"
|
||||
test-generator = "0.3.0"
|
||||
|
||||
[features]
|
||||
# Enables running the Nix language test suite from the original C++
|
||||
# Nix implementation (at version 2.3) against Tvix.
|
||||
nix_tests = []
|
||||
|
||||
[[bench]]
|
||||
name = "eval"
|
||||
harness = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue