The stm-stats package
This module provides functions that can replace calls to atomically and count how often the transaction was retried until it succeeded. It can emit warnings when transaction are retried more often than a given threshold, and provides global statistics across all transaction.
As an additional feature, if the transaction was named, transaction-related exceptions such as BlockedIndefinitelyOnSTM are replaced by variants that indicate which transaction caused the exception.
- Added warnInSTMFunction to TrackSTMConf.
- Bugfix with the global retry count warning.
- Initial Release
|Dependencies||base (==4.*), containers, stm, template-haskell, time [details]|
|Author||David Leuschner <email@example.com>, Stefan Wehr <firstname.lastname@example.org>, Joachim Breitner <email@example.com>|
|Maintainer||Joachim Breitner <firstname.lastname@example.org>|
|Source repository||head: darcs get http://darcs.umidev.de/pub/stm-stats/|
|Uploaded||Mon Oct 10 18:16:36 UTC 2011 by JoachimBreitner|
|Distributions||LTSHaskell:0.2.0.0, NixOS:0.2.0.0, Stackage:0.2.0.0, Tumbleweed:0.2.0.0|
|Downloads||792 total (10 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees