Expand description
Common benchmark utilities for uutils coreutils
This module provides shared functionality for benchmarking utilities, including test data generation and binary execution helpers.
Modules§
- fs_tree
- Filesystem tree generation utilities for benchmarking
- text_
data - Generate test data with different characteristics for text processing utilities
Functions§
- create_
test_ file - Create a temporary file with test data
- run_
util_ function - Run a utility function directly with given arguments This calls the uumain function that returns i32 (like the fuzzing approach)
- setup_
test_ file - Helper function to set up a temporary test file and leak the temporary directory so it persists for the duration of the benchmark