composewell / streaming-benchmarks

Benchmarks to compare Haskell streaming library performance
Other
102 stars 9 forks source link

RFC: Split the benchmarks into per package files? #7

Closed harendra-kumar closed 6 years ago

harendra-kumar commented 6 years ago

Currently the benchmarks for all packages are in a single file.

What are the advantages of this:

What are the disadvantages:

harendra-kumar commented 6 years ago

If we use per package files we can use a separate driver process to run the benchmarks close together in time. That's just more work to do. But it may make sense to create a general benchmark driver package to perform such tasks.

harendra-kumar commented 6 years ago

I split the definition of benchmarking ops of each package to individual files though we still have a monolithic high level driver. This makes understanding existing benchmarks and adding new benchmarks easier.