mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 17:00:18 +00:00
Rename functions
This commit is contained in:
1 parent
7c929f7e48
commit
f822455d99
5 files changed
+17
-11
No files matched your search
@@ -1,4 +1,5 @@
|
||||
pub mod exit_code;
|
||||
pub mod min_max;
|
||||
pub mod number;
|
||||
pub mod randomized_environment_offset;
|
||||
pub mod units;
|
||||
@@ -0,0 +1,8 @@
|
||||
/// 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::<usize>() % 4096usize)
|
||||
}
|
||||
Reference in new issue
Block a user