Skip to content

Commit

Permalink
Merge pull request #130 from near/sha_bench
Browse files Browse the repository at this point in the history
Add sha256 benchmark
  • Loading branch information
aborg-dev authored Dec 1, 2023
2 parents 90ad6da + ce71b07 commit a9e13fc
Show file tree
Hide file tree
Showing 6 changed files with 5,738 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/test-all-zkasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ run_tests "cranelift/zkasm_data/spectest/i32"
run_tests "cranelift/zkasm_data/spectest/i64"
run_tests "cranelift/zkasm_data/spectest/conversions"
run_tests "cranelift/zkasm_data/benchmarks/fibonacci"
run_tests "cranelift/zkasm_data/benchmarks/sha256"
1 change: 1 addition & 0 deletions cranelift/filetests/src/test_zkasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ mod tests {
#[test]
fn run_benchmarks() {
test_wat_in_directory(Path::new(&format!("../zkasm_data/benchmarks/fibonacci")));
test_wat_in_directory(Path::new(&format!("../zkasm_data/benchmarks/sha256")));
}

macro_rules! testcases {
Expand Down
Loading

0 comments on commit a9e13fc

Please sign in to comment.