forked from amethyst/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish benchmarking transition to criterion.rs Put real_blackbox behind nightly, ensure 1.19 Fix TODOs Try with 1.20 Try 1.21 Give up
- Loading branch information
Showing
9 changed files
with
548 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Generated by Cargo | ||
/target/ | ||
Cargo.lock | ||
.criterion | ||
|
||
# Generated by mdbook | ||
/book/book/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#![feature(test)] | ||
|
||
#[macro_use] | ||
extern crate criterion; | ||
extern crate specs; | ||
extern crate test; | ||
|
||
macro_rules! group { | ||
($name:ident,$($benches:path),*) => { | ||
pub fn $name(c: &mut Criterion) { | ||
$( | ||
$benches(c); | ||
)* | ||
} | ||
}; | ||
} | ||
|
||
mod storage_cmp; | ||
mod storage_sparse; | ||
|
||
pub use test::black_box; | ||
|
||
use storage_cmp::benches_storages; | ||
use storage_sparse::benches_sparse; | ||
|
||
criterion_main!(benches_storages, benches_sparse); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.