peal / vole

A GAP package for backtrack search in permutation groups with graphs
https://peal.github.io/vole
Mozilla Public License 2.0
8 stars 2 forks source link

Benches #6

Closed WizardOfMenlo closed 4 years ago

WizardOfMenlo commented 4 years ago

So, this is a simple example of what benchmarking could look like. You can run it with cargo bench. I have just benched (a b)^-1 vs b^-1 a^-1 on a couple of permutations that I came up with (so it is not really representative, I think a random permutation will help a lot for benches).

WizardOfMenlo commented 4 years ago

Something interesting is that criterion automagically generates an html report of the benchmarks, so if you look in target/criterion you can find some quite cool visualizations

ChrisJefferson commented 4 years ago

Thanks, this looks good. Now has a conflict however due to mergint the other PR.

WizardOfMenlo commented 4 years ago

Oh yeah that is just the print that I commented since it was skewing benchmarks, I also made a small change that uses random permutations for hopefully more representative results