littlefs/benches
Christopher Haster b0382fa891 Added BENCH/TEST_PRNG, replacing other ad-hoc sources of randomness
When you add a function to every benchmark suite, you know if should
probably be provided by the benchmark runner itself. That being said,
randomness in tests/benchmarks is a bit tricky because it needs to be
strictly controlled and reproducible.

No global state is used, allowing tests/benches to maintain multiple
randomness stream which can be useful for checking results during a run.

There's an argument for having global prng state in that the prng could
be preserved across power-loss, but I have yet to see a use for this,
and it would add a significant requirement to any future test/bench runner.
2022-12-06 23:09:07 -06:00
..
bench_dir.toml Added BENCH/TEST_PRNG, replacing other ad-hoc sources of randomness 2022-12-06 23:09:07 -06:00
bench_file.toml Added BENCH/TEST_PRNG, replacing other ad-hoc sources of randomness 2022-12-06 23:09:07 -06:00
bench_superblock.toml Added bench.py and bench_runner.c for benchmarking 2022-11-15 13:33:34 -06:00