Boa 0.1.8

Boa is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language.
Documentation
#[macro_use]
extern crate criterion;

use boa::exec;
use criterion::Criterion;

fn hello_world() {
    let s = &String::from("let a = 'hello world';");
    exec(s.to_string());
}

fn criterion_benchmark(c: &mut Criterion) {
    c.bench_function("hello_world", |b| b.iter(|| hello_world()));
}

criterion_group!(benches, criterion_benchmark);
criterion_main!(benches);