joelverhagen / NCsvPerf

A test bench for various .NET CSV parsing libraries
https://www.joelverhagen.com/blog/2020/12/fastest-net-csv-parsers
MIT License
71 stars 14 forks source link

modify benchmarks to run more quickly #39

Closed MarkPflug closed 3 years ago

MarkPflug commented 3 years ago

Modifies the configuration a bit to run the 1M benchmark in a reasonable time. The default configuration runs way more iterations than are really needed, which just makes the run take a long time but doesn't really effect the results.

joelverhagen commented 3 years ago

Looks good! I'm a little unsure about the SimpleJob change since the -1 looks to be "Hey Benchmark.net, do whatever is default" and I'm happy to trust the tool. But given the fact that the test data is deterministic (vs. the random date examples shown in a lot of Benchmark.net samples) it would stand to reason that fewer iterations are fine. It's been a long time since a proper stats course so I can't speak to the statistic significance of this change 😄.