Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created December 13, 2014 01:13
Show Gist options
  • Save alexcrichton/182ccef5d8c2583a2423 to your computer and use it in GitHub Desktop.
Save alexcrichton/182ccef5d8c2583a2423 to your computer and use it in GitHub Desktop.
// after this RFC
running 6 tests
test bench_long_direct ... bench: 188114 ns/iter (+/- 10576) = 4018 MB/s
test bench_long_via_format ... bench: 189173 ns/iter (+/- 5333) = 3996 MB/s
test bench_medium_direct ... bench: 35 ns/iter (+/- 1) = 21599 MB/s
test bench_medium_via_format ... bench: 104 ns/iter (+/- 2) = 7269 MB/s
test bench_short_direct ... bench: 20 ns/iter (+/- 0) = 600 MB/s
test bench_short_via_format ... bench: 62 ns/iter (+/- 1) = 193 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured
// before this RFC
running 6 tests
test bench_long_direct ... bench: 191766 ns/iter (+/- 4034) = 3941 MB/s
test bench_long_via_format ... bench: 586749 ns/iter (+/- 12841) = 1288 MB/s
test bench_medium_direct ... bench: 37 ns/iter (+/- 2) = 20432 MB/s
test bench_medium_via_format ... bench: 664 ns/iter (+/- 19) = 1138 MB/s
test bench_short_direct ... bench: 20 ns/iter (+/- 0) = 600 MB/s
test bench_short_via_format ... bench: 65 ns/iter (+/- 2) = 184 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment