mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 12:58:54 -05:00
allow v8 cli flags on deno_core_http_bench (#1934)
This commit is contained in:
parent
630ead1296
commit
45fad1b7cf
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ fn main() {
|
|||
});
|
||||
|
||||
let args: Vec<String> = env::args().collect();
|
||||
let args = deno_core::v8_set_flags(args);
|
||||
if args.len() > 1 && args[1] == "--multi-thread" {
|
||||
println!("multi-thread");
|
||||
tokio::run(main_future);
|
||||
|
|
Loading…
Reference in a new issue