Skip to content

Commit

Permalink
Test add stake program benches (#3396)
Browse files Browse the repository at this point in the history
Benchmarking happy-path of all Stake instructions.
  • Loading branch information
tao-stones authored Dec 13, 2024
1 parent 6dd364b commit fcff549
Show file tree
Hide file tree
Showing 3 changed files with 765 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions programs/stake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ solana-vote-program = { workspace = true }

[dev-dependencies]
assert_matches = { workspace = true }
criterion = { workspace = true }
proptest = { workspace = true }
solana-compute-budget = { workspace = true }
solana-logger = { workspace = true }
Expand All @@ -34,5 +35,9 @@ name = "solana_stake_program"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

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

[lints]
workspace = true
Loading

0 comments on commit fcff549

Please sign in to comment.