package ppx_trace
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A ppx-based preprocessor for trace
Install
dune-project
Dependency
Authors
Maintainers
Sources
trace-0.6.tbz
sha256=97cc4159b96429adc01a84bff1ed34b8f06746bc56a40a214a6306036be2df38
sha512=6a67ea9ddeebb4b93a0b8dba9ed26d95e786722d08fd9ca7d8e2db7651a9b9d6ccc63cc437b4eb71c28b3ec51838716a84707a8d366abb595f32a5e65035e28b
doc/CHANGES.html
0.6
add
ppx_tracefor easier instrumentation.let%trace span = "foo" in …will enter a scopespannamed "foo"let%trace () = "foo" in …will enter a scope named "foo" with a hidden name
- add
trace-fuchsiabackend, which produces traces in the binary format of fuchsia. These traces are reasonably efficient to produce (~60ns per span on my machines) and reasonably compact on disk, at least compared to the TEF backend.
0.5
- perf: reduce overhead in trace-tef
- perf: add Mpsc_queue, adapted from picos, to trace-tef
0.4
- add
?datatocounter_intandcounter_float - add
floatto user data - add
add_data_to_current_spanandadd_data_to_manual_span - make
explicit_span.metamutable - trace-tef: write to
trace.jsonif env variableTRACEis either 1 or true - trace-tef: emit function name, if provided, as a metadata key/value pair
- re-export trace.core in trace
- perf: in trace-tef, use broadcast instead of signal in the job queue
0.3
- add explicit spans, for more precise tracing
- rename repo to ocaml-trace
- trace-tef: add a ticker thread to ensure we flush the file regularly
0.2
- trace-tef: additional argument to
with_setup; env for "stdout"/"stderr" - refactor: avoid conflicting with stdlib
Tracemodule by adding sublibrarytrace.core. Programs that usecompiler-libs.toplevelshould usetrace.coredirectly, because usingtracewill cause linking errors. - perf(trace-tef): improve behavior of collector under contention by pulling all events at once in the worker
0.1
initial release
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>