Skip to content

Commit

Permalink
try-out iai benching
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Nov 1, 2024
1 parent 918456b commit bafcbf9
Show file tree
Hide file tree
Showing 3 changed files with 783 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions programs/stake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ solana-vote-program = { workspace = true }
assert_matches = { workspace = true }
criterion = { workspace = true }
criterion-perf-events = "0.4.0"
iai = "0.1"
perfcnt = "0.8.0"
proptest = { workspace = true }
solana-compute-budget = { workspace = true }
Expand All @@ -41,5 +42,10 @@ targets = ["x86_64-unknown-linux-gnu"]
name = "stake"
harness = false


[[bench]]
name = "stake_iai"
harness = false

[lints]
workspace = true
Loading

0 comments on commit bafcbf9

Please sign in to comment.