Crate evobench_tools

Source

Modules§

config_file
Generic config file loader that supports reloading
date_and_time
Date/time handling extensions and utilities
digit_num
Numbers based on vectors of decimal digits, for testing purposes
evaluator
Benchmarking log file evaluation
git
Retrieve a history DAG from Git
git_ext
Extension trait for GitWorkingDir from the run-git crate
git_tags
Extension for the run-git crate to retrieve git tags
html_files
Helpers/templates for writing HTML output files
io_utils
Various utilities in the area of I/O
join
Joins (intersections) of sorted sequences
key_val_fs
Filesystem based key-value database
output_table
Generate tables for human consumption, for the terminal, as HTML or CSV
resolution_unit
Trait to attach a physical unit to a type
run
Running benchmarking jobs
run_with_pre_exec
Run an external command after first executing some Bash code in-process
serde_types
Helper/wrapper types with good serde support
serde_util
Utilities for working with serde
silo
LAPIS-SILO project specific code
stats_tables
Descriptive statistics with a table based output representation
times
Time durations in microseconds and nanoseconds
util
Things that could be independent from evobench but not so clearly.
utillib
Various utilities that are not specific to evobench

Macros§

GitHash
Construct a GitHash instance (used as syntax in its Debug impl)
clone
Shadow a variable with a clone of itself (in preparation for making closures)
ctx
A shorter way to create a anyhow::Result with error context information
debug
Logging in the most verbose level (warn < info < debug)
def_linear
Create a new token type $T that is linear, i.e. whose instances are undroppable, meant to be embedded in the type $FOR. $FOR is reported as the type that is being dropped, when a $T is dropped! Call $T::new() to create an instance, and call bury() to get rid of it, preferably inside a method of $FOR that is consuming the $FOR object and cleans it up.
fallback_to_default
fallback_to_option
fallback_to_trait
info
Logging in the medium verbosity level (warn < info < debug)
info_if
Logging in the medium verbosity level (warn < info < debug), if the expression in the first argument evaluates to true
lazy
Construct a value lazily (for expressions that return Result, use lazyresult) (Todo: update to not require &mut)
lazyresult
Construct a value lazily, with the possibility for errors
microvec
Construct a MicroVec from a list of expressions (no support for [val; N])
unfinished
Logging like warn! but prepending the message with WARNING: unfinished
untested
Logging like warn! but prepending the message with WARNING: untested
warn
Logging in the least verbose level (warn < info < debug)