serokell / o-clock

:hourglass: Type-safe time units in Haskell
Mozilla Public License 2.0
49 stars 6 forks source link

Introduce simple benchmarks #33

Closed chshersh closed 6 years ago

chshersh commented 6 years ago

We want to compare with time-units package in this areas:

  1. Convert 1s to nanoseconds.
  2. Convert 1000ns to seconds.
  3. Convert 1w to days.

o-clock most likely will be much slower. But I think it's a good starting point.

If possible, it will be good to compare with tiempo and data-timeout packages. Also, instead of criterion we can try to use gauge: