Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldug committed Jul 27, 2021
1 parent c9f00db commit 8d527c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boa/benches/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ static ARRAY_CONCAT: &str = include_str!("bench_scripts/array_concat.js");

fn array_concat(c: &mut Criterion) {
let mut context = Context::new();
let nodes = Parser::new(ARRAY_CONCAT.as_bytes(), false).parse_all().unwrap();
let nodes = Parser::new(ARRAY_CONCAT.as_bytes(), false)
.parse_all()
.unwrap();
c.bench_function("Array concat (Execution)", move |b| {
b.iter(|| black_box(&nodes).run(&mut context).unwrap())
});
Expand Down

0 comments on commit 8d527c4

Please sign in to comment.