package brr
Browser programming toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
brr-0.0.8.tbz
sha512=49e7bfbad2ea6a0139354e4a33c59c8a113c4c1e20a4f629bc5cad24aa801e474b4af10ce35adbda5d23dd294d1de5efa5b10bb3030d03f4758459977250a0f6
doc/brr/Brr/Performance/index.html
Module Brr.Performance
Source
Performance
objects.
See the Peformance API and Peformance Timeline API.
The type for performance Performance
objects. See G.performance
for the global performance object.
time_origin_ms p
is the start time of the performance measurement.
clear_marks p n
clears the marks named n
or all of them on None
.
clear_measures p n
clears the measures named n
or all of them on None
.
get_entries ~type' ~name' p
are p
's entries in chronological order filtered by given type'
and/or name'
(both can be omited, possibly separately).
mark p name
creates an timestamped entry associated to name name
.
measure p n ~start ~stop
creates an entry to measure time between two marks.
now_ms p
is the number of millisecond elapsed since time_origin_ms
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>