Skip to content

Commit

Permalink
Skip running benchmarks in CI (denoland#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy authored Oct 5, 2022
1 parent 128be61 commit 40cb4f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benches/function.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
use std::os::raw::c_void;

fn main() {
// Skip running benchmarks in debug or CI.
if cfg!(debug_assertions) || std::env::var("CI").is_ok() {
return;
}
v8::V8::set_flags_from_string(
"--turbo_fast_api_calls --allow_natives_syntax",
);
Expand Down

0 comments on commit 40cb4f8

Please sign in to comment.