xyncro / chiron

JSON for F#
https://xyncro.tech/chiron
MIT License
174 stars 41 forks source link

Add benchmarks for performance tuning #70

Open neoeinstein opened 8 years ago

neoeinstein commented 8 years ago
neoeinstein commented 8 years ago

I'm leaning toward NBench at the moment. It requires an external runner, so it doesn't integrate directly with xUnit. Nonetheless, it seems to have some nice features, including memory and GC benchmarking. It's not quite idiomatic F#, though, so each benchmark needs to be implemented with an OO type. I've posted the work-in-progress into the add-benchmarks branch.

neoeinstein commented 8 years ago

After more exploration, I've found BenchmarkDotNet which seems to be becoming the preferred benchmark tool. It works well integrated as part of an executable and allows for doing A/B testing.

kolektiv commented 8 years ago

I like BenchmarkDotNet, I've had nice experiences with it elsewhere. More than happy for that to be the story for Chiron!