Skip to content

Instantly share code, notes, and snippets.

@yvt
Created May 28, 2021 12:22
Show Gist options
  • Save yvt/1cc2a3082d51cec42c4464309cf910ae to your computer and use it in GitHub Desktop.
Save yvt/1cc2a3082d51cec42c4464309cf910ae to your computer and use it in GitHub Desktop.
$ FARCRI_TARGET=nucleo_f401re cargo criterion --plotting-backend gnuplot --bench binsearch
...
Binary Search Increasing/std/L1
time: [114.01 cycles 114.01 cycles 114.01 cycles]
Binary Search Increasing/custom_1/L1
time: [108.01 cycles 108.01 cycles 108.01 cycles]
Binary Search Increasing/std/L2
time: [150.01 cycles 150.01 cycles 150.01 cycles]
Binary Search Increasing/custom_1/L2
time: [167.01 cycles 167.01 cycles 167.01 cycles]
Binary Search With Duplicates/std/L1
time: [114.01 cycles 114.01 cycles 114.01 cycles]
Binary Search With Duplicates/custom_1/L1
time: [108.01 cycles 108.01 cycles 108.01 cycles]
Binary Search With Duplicates/std/L2
time: [150.01 cycles 150.01 cycles 150.01 cycles]
Binary Search With Duplicates/custom_1/L2
time: [167.01 cycles 167.01 cycles 167.01 cycles]
Binary Search Worst cases/std/L1
time: [115.01 cycles 115.01 cycles 115.01 cycles]
Binary Search Worst cases/custom_1/L1
time: [126.01 cycles 126.01 cycles 126.01 cycles]
Binary Search Worst cases/std/L2
time: [151.01 cycles 151.01 cycles 151.01 cycles]
Binary Search Worst cases/custom_1/L2
time: [174.01 cycles 174.01 cycles 174.01 cycles]
Binary Search With Random Elements Sorted/std/L1
time: [115.01 cycles 115.01 cycles 115.01 cycles]
Binary Search With Random Elements Sorted/custom_1/L1
time: [97.009 cycles 97.009 cycles 97.010 cycles]
Binary Search With Random Elements Sorted/std/L2
time: [154.01 cycles 154.01 cycles 154.01 cycles]
Binary Search With Random Elements Sorted/custom_1/L2
time: [163.01 cycles 163.01 cycles 163.01 cycles]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment