package
Version:
v0.3.5
Opens a new window with list of versions in this module.
Published: Jun 7, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stats provides utilities for collecting and printing statistics
type Collector map[gen.Table]*tblMergeStats
Collector collects per-table C(R)U(D)-statistics.
NewCollector creates a new mergeStats instance.
Inserted adds `n` inserts to the statistics for `table`.
Noop adds `n` inserts to the statistics for `table`.
Print prints the collected statistics to `logger` per line, retaining
potential logging prefixes.
Updated adds `n` inserts to the statistics for `table`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.