[go: up one dir, main page]

Module benchmark

Module benchmark 

Source
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