Skip to content

Commit

Permalink
allow v8 cli flags on deno_core_http_bench (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Mar 15, 2019
1 parent 630ead1 commit 45fad1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/http_bench.rs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ fn main() {
}); });


let args: Vec<String> = env::args().collect(); let args: Vec<String> = env::args().collect();
let args = deno_core::v8_set_flags(args);
if args.len() > 1 && args[1] == "--multi-thread" { if args.len() > 1 && args[1] == "--multi-thread" {
println!("multi-thread"); println!("multi-thread");
tokio::run(main_future); tokio::run(main_future);
Expand Down

0 comments on commit 45fad1b

Please sign in to comment.