BSD-3-Clause licensed and maintained by Toshio Ito

Module documentation for 0.1.0.6

This version can be pinned in stack with:stopwatch-0.1.0.6@sha256:8be98a1714889e4414e2d2d153aaa9ef08a2374926ed6195479570ff540e426b,2169

stopwatch

A simple stopwatch utility for Haskell.

How to run tests

cabal configure --enable-tests && cabal build && cabal test

Important test flag

  • test_delay_upper_bound: Default: False. If True, the test checks the return value of stopWatch with upper bounds. If False, it doesn’t check upper bounds. It checks lower bounds only.

Author

Toshio Ito debug.ito@gmail.com

Changes

Revision history for stopwatch

0.1.0.6 – 2019-05-01

  • Confirmed test with clock-0.8.

0.1.0.5 – 2018-03-14

  • Confirmed test with hspec-2.5.0. Remove its dependency upper bound, because I think it’s stable enough.

0.1.0.4 – 2017-01-24

  • Confirmed build with hspec-2.4.0.

0.1.0.3 – 2016-10-09

  • Confirmed build with hspec-2.3.0.

0.1.0.2 – 2016-05-22

  • Dependency version range for base was too wide.

0.1.0.1 – 2016-05-03

  • Expand dependency version ranges for transformers and clock.

  • Loosen the test. Now it checks only lower bounds of the measured delay, not upper bounds. This is because in some environments, it’s difficult to ensure the upper bounds.

0.1.0 – 2015-09-13

  • First version. Released on an unsuspecting world.
comments powered byDisqus