memory
Memory benchmark runner.
Measures memory consumption for Text-Fabric and Context-Fabric across single-process, spawn, and fork modes.
Classes
class
MemoryBenchmarkRunner
()Runner for memory benchmarks.
Runner for memory benchmarks.
Measures memory usage in single-process, spawn, and fork modes
for both Text-Fabric and Context-Fabric.
Methods
name(self) → strrun(self, corpus: CorpusConfig, modes: list[Literal[('single', 'spawn', 'fork')]] | None = None) → MemoryBenchmarkResultRun memory benchmark for a corpus.
Parameters
corpus: CorpusConfigmodes: list[Literal[('single', 'spawn', 'fork')]] | None= None