Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
add platform limitaion to bench_program_alu
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Nov 30, 2023
1 parent 57f3530 commit bd5ec46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions programs/sbf/benches/bpf_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ fn bench_program_create_executable(bencher: &mut Bencher) {
});
}

#[cfg(all(not(target_os = "windows"), target_arch = "x86_64"))]
#[bench]
fn bench_program_alu(bencher: &mut Bencher) {
let ns_per_s = 1000000000;
Expand Down

0 comments on commit bd5ec46

Please sign in to comment.