mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-28 19:00:58 +00:00
9 lines
391 B
Rust
9 lines
391 B
Rust
/// Returns a string with a random length. This value will be set as an environment
|
|
/// variable to account for offset effects. See [1] for more details.
|
|
///
|
|
/// [1] Mytkowicz, 2009. Producing Wrong Data Without Doing Anything Obviously Wrong!.
|
|
/// Sigplan Notices - SIGPLAN. 44. 265-276. 10.1145/1508284.1508275.
|
|
pub fn value() -> String {
|
|
"X".repeat(rand::random_range(0..4096))
|
|
}
|