Skip to content

Instantly share code, notes, and snippets.

@shradej1
Created March 22, 2017 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shradej1/c10df57bc3e0232b6a21929c2fcfe285 to your computer and use it in GitHub Desktop.
Save shradej1/c10df57bc3e0232b6a21929c2fcfe285 to your computer and use it in GitHub Desktop.
#![feature(test)]
extern crate test;
#[cfg(test)]
mod tests {
use test::Bencher;
#[bench]
fn it_works(b: &mut Bencher) {
b.iter(|| { let stack = [[[0.0; 2]; 512]; 512]; });
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment