No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bench.rs 228B

12345678910111213
  1. #![feature(test)]
  2. extern crate test;
  3. extern crate wasm_tetris;
  4. #[bench]
  5. fn universe_ticks(b: &mut test::Bencher) {
  6. let mut universe = wasm_game_of_life::Universe::new();
  7. b.iter(|| {
  8. universe.tick();
  9. });
  10. }