package index
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A platform-agnostic multi-level index for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
index-1.6.0.tbz
sha256=5e0c1f6cbd6e485cbbf2344c8f76de8a7869155355ae6edd5550c88da0661594
sha512=613fa206d1124b34259421f4ea978ce4e9404d78af3a687c1e406d88a5d481bd51465fafae58da9eb3e6a0b5408118b8a7dfe1fbb05ce8fed4b8b0a572beb99b
doc/index/Index/Stats/index.html
Module Index.StatsSource
Run-time metric tracking for index instances.
Source
type t = {mutable bytes_read : int;mutable nb_reads : int;mutable bytes_written : int;mutable nb_writes : int;mutable nb_merge : int;mutable merge_durations : float list;mutable nb_replace : int;mutable replace_durations : float list;mutable nb_sync : int;mutable time_sync : float;mutable lru_hits : int;mutable lru_misses : int;
}The type for stats for an index I.
bytes_readis the number of bytes read from disk;nb_readsis the number of reads from disk;bytes_writtenis the number of bytes written to disk;nb_writesis the number of writes to disk;nb_mergeis the number of times a merge occurred;merge_durationslists how much time the last 10 merge operations took (in microseconds);nb_replaceis the number of calls toI.replace;replace_durationslists how much time replace operations took. Each element is an average ofnconsecutive replaces, wherenis thesampling_intervalspecified when callingend_replace.time_syncis the duration of the latest call to sync.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>