ghc-trace-events: Faster traceEvent and traceMarker, and binary object logging for eventlog
ghc-trace-events provides faster traceEvent and traceMarker as well as arbitrary binary object logging for the eventlog framework. Unlike the eventlog tracing functions in base, all the tracing functions in this library don't evaluate the input if user event logging (the -lu flag) is disabled, which can give a significant boost in performance. Take a look at the benchmark suite for the details.
This library provies the following modules:
- Debug.Trace.String
 - Drop-in replacement for the event tracing functions in Debug.Trace.
 - Debug.Trace.ByteString
 - UTF-8 encoded 
ByteStringvariant of the event tracing functions in Debug.Trace. It's faster than theStringvariant. - Debug.Trace.Text
 Textvariant of the event tracing functions in Debug.Trace. It's faster than theStringvariant.- Debug.Trace.Binary
 - Arbitary binary object logging available for GHC 8.8 or
later. Unlike the other tracing functions 
Debug.Trace.Binary.traceBinaryEventtakes an arbitraryByteStringobject as opposed to a UTF-8 encoded string. 
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- ghc-trace-events-0.1.2.10.tar.gz [browse] (Cabal source package)
 - Package description (as included in the package)
 
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0.0, 0.0.0.1, 0.1.0, 0.1.0.1, 0.1.2, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.1.2.5, 0.1.2.6, 0.1.2.7, 0.1.2.8, 0.1.2.9, 0.1.2.10 | 
|---|---|
| Change log | CHANGELOG.md | 
| Dependencies | base (>=4.8 && <4.22), bytestring (>=0.9.2 && <0.13), text (>=1.0.0 && <1.3 || >=2.0 && <2.2) [details] | 
| Tested with | ghc ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1 || ==9.12.1 | 
| License | BSD-3-Clause | 
| Copyright | Copyright (C) 2018-2025 Mitsutoshi Aoe | 
| Author | Mitsutoshi Aoe | 
| Maintainer | Mitsutoshi Aoe <me@maoe.name> | 
| Category | Development, GHC, Trace | 
| Home page | https://github.com/maoe/ghc-trace-events | 
| Source repo | head: git clone https://github.com/maoe/ghc-trace-events.git -b develop | 
| Uploaded | by MitsutoshiAoe at 2025-04-05T08:24:48Z | 
| Distributions | Arch:0.1.2.10, LTSHaskell:0.1.2.10, NixOS:0.1.2.10, Stackage:0.1.2.10 | 
| Reverse Dependencies | 3 direct, 43 indirect [details] | 
| Downloads | 14427 total (35 in the last 30 days) | 
| Rating | (no votes yet) [estimated by Bayesian average] | 
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2025-04-05 [all 1 reports]  |