Skip to content

Commit 0fd5050

Browse files
committed
Updates.
1 parent 941caf3 commit 0fd5050

10 files changed

Lines changed: 19 additions & 19 deletions

benches/data_drop.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ fn precheck() {
5050

5151
fn _0001(c: &mut Criterion) {
5252
precheck();
53-
let mut group = c.benchmark_group("data-drop");
53+
let mut group = c.benchmark_group("d.drop");
5454
for length in LENGTHS {
5555
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
5656
let compiler = wasmer::sys::Singlepass::default();
5757
let store = wasmer::Store::new(compiler);
5858
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
59-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
59+
group.bench_with_input(format!("{length}"), &length, |b, _| {
6060
b.iter_batched(
6161
|| {
6262
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/elem_drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn precheck() {
5151

5252
fn _0001(c: &mut Criterion) {
5353
precheck();
54-
let mut group = c.benchmark_group("elem-drop");
54+
let mut group = c.benchmark_group("e.drop");
5555
for length in LENGTHS {
5656
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
5757
let compiler = wasmer::sys::Singlepass::default();

benches/memory_copy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ fn make_config() -> Criterion {
6767
}
6868

6969
fn _0001(c: &mut Criterion) {
70-
let mut group = c.benchmark_group("memory-copy");
70+
let mut group = c.benchmark_group("m.copy");
7171
for length in LENGTHS {
7272
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
7373
let compiler = wasmer::sys::Singlepass::default();
7474
let store = wasmer::Store::new(compiler);
7575
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
76-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
76+
group.bench_with_input(format!("{length}"), &length, |b, _| {
7777
b.iter_batched(
7878
|| {
7979
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/memory_fill.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ fn precheck() {
8585

8686
fn _0001(c: &mut Criterion) {
8787
precheck();
88-
let mut group = c.benchmark_group("memory-fill");
88+
let mut group = c.benchmark_group("m.fill");
8989
for length in LENGTHS {
9090
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
9191
let compiler = wasmer::sys::Singlepass::default();
9292
let store = wasmer::Store::new(compiler);
9393
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
94-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
94+
group.bench_with_input(format!("{length}"), &length, |b, _| {
9595
b.iter_batched(
9696
|| {
9797
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/memory_grow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ fn precheck() {
5454

5555
fn _0001(c: &mut Criterion) {
5656
precheck();
57-
let mut group = c.benchmark_group("memory-grow");
57+
let mut group = c.benchmark_group("m.grow");
5858
for length in LENGTHS {
5959
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
6060
let compiler = wasmer::sys::Singlepass::default();
6161
let store = wasmer::Store::new(compiler);
6262
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
63-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
63+
group.bench_with_input(format!("{length}"), &length, |b, _| {
6464
b.iter_batched(
6565
|| {
6666
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/memory_init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ fn precheck() {
9494

9595
fn _0001(c: &mut Criterion) {
9696
precheck();
97-
let mut group = c.benchmark_group("memory-init");
97+
let mut group = c.benchmark_group("m.init");
9898
for length in LENGTHS {
9999
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
100100
let compiler = wasmer::sys::Singlepass::default();
101101
let store = wasmer::Store::new(compiler);
102102
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
103-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
103+
group.bench_with_input(format!("{length}"), &length, |b, _| {
104104
b.iter_batched(
105105
|| {
106106
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/table_copy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ fn precheck() {
7575

7676
fn _0001(c: &mut Criterion) {
7777
precheck();
78-
let mut group = c.benchmark_group("table-copy");
78+
let mut group = c.benchmark_group("t.copy");
7979
for length in LENGTHS {
8080
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
8181
let compiler = wasmer::sys::Singlepass::default();
8282
let store = wasmer::Store::new(compiler);
8383
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
84-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
84+
group.bench_with_input(format!("{length}"), &length, |b, _| {
8585
b.iter_batched(
8686
|| {
8787
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/table_fill.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ fn precheck() {
6363

6464
fn _0001(c: &mut Criterion) {
6565
precheck();
66-
let mut group = c.benchmark_group("table-fill");
66+
let mut group = c.benchmark_group("t.fill");
6767
for length in LENGTHS {
6868
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
6969
let compiler = wasmer::sys::Singlepass::default();
7070
let store = wasmer::Store::new(compiler);
7171
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
72-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
72+
group.bench_with_input(format!("{length}"), &length, |b, _| {
7373
b.iter_batched(
7474
|| {
7575
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/table_grow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ fn precheck() {
8787

8888
fn _0001(c: &mut Criterion) {
8989
precheck();
90-
let mut group = c.benchmark_group("table-grow");
90+
let mut group = c.benchmark_group("t.grow");
9191
for length in LENGTHS {
9292
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
9393
let compiler = wasmer::sys::Singlepass::default();
9494
let store = wasmer::Store::new(compiler);
9595
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
96-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
96+
group.bench_with_input(format!("{length}"), &length, |b, _| {
9797
b.iter_batched(
9898
|| {
9999
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

benches/table_init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ fn precheck() {
6666

6767
fn _0001(c: &mut Criterion) {
6868
precheck();
69-
let mut group = c.benchmark_group("table-init");
69+
let mut group = c.benchmark_group("t.init");
7070
for length in LENGTHS {
7171
let wasm_bytes = wat::parse_str(wat_source(length)).unwrap();
7272
let compiler = wasmer::sys::Singlepass::default();
7373
let store = wasmer::Store::new(compiler);
7474
let module = wasmer::Module::from_binary(&store, &wasm_bytes).unwrap();
75-
group.bench_with_input(format!("L = {length}"), &length, |b, _| {
75+
group.bench_with_input(format!("{length}"), &length, |b, _| {
7676
b.iter_batched(
7777
|| {
7878
let mut store = wasmer::Store::new(wasmer::sys::Singlepass::default());

0 commit comments

Comments
 (0)