package ocaml-base-compiler
Official 4.04.2 release
Install
Dune Dependency
Authors
Maintainers
Sources
4.04.2.tar.gz
sha256=6277a477956fc7b76f28af9941dce2984d0df809a0361093eb2e28234bf9c8ed
md5=5ce661a2d8b760dc77c2facf46ccddd1
doc/ocamlcommon/Timings/index.html
Module Timings
Compiler performance recording
type compiler_pass =
| All
| Parsing of file
| Preprocessing of file
| Typing of file
| Transl of file
| Generate of file
| Assemble of source_provenance
| Clambda of source_provenance
| Cmm of source_provenance
| Compile_phrases of source_provenance
| Selection of source_provenance
| Comballoc of source_provenance
| CSE of source_provenance
| Liveness of source_provenance
| Deadcode of source_provenance
| Spill of source_provenance
| Split of source_provenance
| Regalloc of source_provenance
| Linearize of source_provenance
| Scheduling of source_provenance
| Emit of source_provenance
| Flambda_pass of string * source_provenance
val get : compiler_pass -> float option
returns the runtime in seconds of a completed pass
val time : compiler_pass -> ('a -> 'b) -> 'a -> 'b
time pass f arg
Record the runtime of f arg
val accumulate_time : compiler_pass -> ('a -> 'b) -> 'a -> 'b
Like time for passes that can run multiple times
val print : Format.formatter -> unit
Prints all recorded timings to the formatter.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>