Expand description
§Impalab
impalab is a language-agnostic framework for orchestrating micro-benchmarks.
It allows you to define, build, and run benchmark components written in any language,
piping data from a generator to one or more algorithm implementations.
This crate contains the main library logic for the impa CLI, but its
core modules (builder, config, benchmark) could be used independently.
§Core Modules
builder: Contains logic for theimpa buildcommand. It discoversimpafile.tomlfiles, runs optional build steps, and creates theimpa_manifest.json.config: Handles parsing theRunArgsfrom the CLI, applying overrides, and resolving all component paths from the manifest to create aConfigstruct.benchmark: Contains therun_benchmarksfunction which executes the generator and algorithm processes, handlingstdin/stdoutpiping.cli: Defines theclap-based command-line interface.command: Defines the sharedCommandArgsstruct.error: Defines the custom error types for the library.logging: Provides thesetup_tracingutility.