packages feed

stm-stats

retry statistics for STM transactions

view on Hackage

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. /Changelog:/ [0.2.0.0] (2011-10-10) [ ] Added 'warnInSTMFunction' to 'TrackSTMConf'. [ ] Bugfix with the global retry count warning. [0.1.0.0] (2011-10-09) [ ] Initial Release
versionuploadeduploaderchanges
0.2.0.02011-10-10 18:16 UTCJoachimBreitner1 revisions+38/−22 lines, 3 filesPVP ok
0.1.0.02011-10-09 16:43 UTCJoachimBreitner1 revisions+326/−0 lines, 5 filesdep +basedep +containersdep +stmsetup-changed

Dependencies of stm-stats-0.2.0.0

base >=4 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

containers <0.6 0.5.11.0 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8 newer than bounds+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7 newer than bounds+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

stm >=0 2.5.3.0 → 2.5.3.1
2024-04-12 15:34 UTC2.5.3.1+7/−3 lines, 3 filesdep ~basePVP: major bump suggested
2023-11-17 23:47 UTC2.5.3.0+222/−123 lines, 6 filesPVP: major bump suggested
2023-10-06 15:16 UTC2.5.2.1+11/−5 lines, 3 filesPVP ok
2023-10-05 21:19 UTC2.5.2.0+258/−270 lines, 9 filesdep ~basePVP: major bump suggested
2022-08-04 22:51 UTC2.5.1.0+42/−5 lines, 5 filesdep +semigroupsdep ~basePVP ok

showing 5 of 24 versions

template-haskell >=0 2.23.0.0 → 2.24.0.0
2025-12-19 11:53 UTC2.24.0.0+606/−68 lines, 9 filesdep +ghc-internaldep ~basedep ~ghc-boot-thPVP ok
2024-12-16 09:29 UTC2.23.0.0+104/−5685 lines, 9 filesdep −ghc-primdep −prettydep ~basedep ~ghc-boot-thnew-uploaderPVP ok
2024-05-15 13:07 UTC2.22.0.0+176/−81 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-10-10 00:23 UTC2.21.0.0+275/−148 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-03-28 13:43 UTC2.20.0.0+215/−139 lines, 9 filesdep −filepathdep ~basedep ~ghc-boot-thPVP ok

showing 5 of 26 versions

time >=0 1.16 → 1.16.0.1
2026-07-20 21:55 UTC1.16.0.1+1203/−148 lines, 25 filesPVP ok
2026-05-03 08:43 UTC1.16+353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok
2025-08-04 16:22 UTC1.15+1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok
2024-03-10 22:18 UTC1.14+6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok
2021-10-18 05:36 UTC1.13+1279/−1589 lines, 59 filesdep ~basePVP ok

showing 5 of 48 versions

Reverse dependencies

2 packages depend on stm-stats

acme-everything 2018.11.18 requires stm-stats >=0
ttrie 0.1.2.2 requires stm-stats >=0