summaryrefslogtreecommitdiffstats
path: root/vendor/tinystr/benches/common
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /vendor/tinystr/benches/common
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/tinystr/benches/common')
-rw-r--r--vendor/tinystr/benches/common/mod.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/tinystr/benches/common/mod.rs b/vendor/tinystr/benches/common/mod.rs
index 07654e1d9..84090b6c2 100644
--- a/vendor/tinystr/benches/common/mod.rs
+++ b/vendor/tinystr/benches/common/mod.rs
@@ -37,43 +37,19 @@ macro_rules! bench_block {
let mut group4 = $c.benchmark_group(&format!("{}/4", $name));
group4.bench_function("String", $action!(String, STRINGS_4));
group4.bench_function("TinyAsciiStr<4>", $action!(TinyAsciiStr<4>, STRINGS_4));
- group4.bench_function(
- "tinystr_old::TinyStr4",
- $action!(tinystr_old::TinyStr4, STRINGS_4),
- );
group4.bench_function("TinyAsciiStr<8>", $action!(TinyAsciiStr<8>, STRINGS_4));
- group4.bench_function(
- "tinystr_old::TinyStr8",
- $action!(tinystr_old::TinyStr8, STRINGS_4),
- );
group4.bench_function("TinyAsciiStr<16>", $action!(TinyAsciiStr<16>, STRINGS_4));
- group4.bench_function(
- "tinystr_old::TinyStr16",
- $action!(tinystr_old::TinyStr16, STRINGS_4),
- );
group4.finish();
let mut group8 = $c.benchmark_group(&format!("{}/8", $name));
group8.bench_function("String", $action!(String, STRINGS_8));
group8.bench_function("TinyAsciiStr<8>", $action!(TinyAsciiStr<8>, STRINGS_8));
group8.bench_function("TinyAsciiStr<16>", $action!(TinyAsciiStr<16>, STRINGS_8));
- group8.bench_function(
- "tinystr_old::TinyStr8",
- $action!(tinystr_old::TinyStr8, STRINGS_8),
- );
- group8.bench_function(
- "tinystr_old::TinyStr16",
- $action!(tinystr_old::TinyStr16, STRINGS_8),
- );
group8.finish();
let mut group16 = $c.benchmark_group(&format!("{}/16", $name));
group16.bench_function("String", $action!(String, STRINGS_16));
group16.bench_function("TinyAsciiStr<16>", $action!(TinyAsciiStr<16>, STRINGS_16));
- group16.bench_function(
- "tinystr_old::TinyStr16",
- $action!(tinystr_old::TinyStr16, STRINGS_16),
- );
group16.finish();
};
}