Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use BatchSize::LargeInput if input size exceeds 512 bytes
Criterion.rs documentation states that "SmallInput indicates that the input to the benchmark routine [...] is small enough that millions of values can be safely held in memory." 0.5KB seems like a good cutoff to use to start using LargeInput, if we take "millions of values" to mean ~5,000,000.
- Loading branch information