Skip to content

Commit d5efe29

Browse files
authored
Rollup merge of #108023 - JulianKnodt:smaller_benchmark, r=workingjubilee
Shrink size of array benchmarks Might've overdone it with the size of these benchmarks, as there's no need for them to be quite as large. Fixes #108011
2 parents 514bc13 + 826abcc commit d5efe29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: library/core/benches/array.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ macro_rules! map_array {
1111
};
1212
}
1313

14-
map_array!(map_8byte_8byte_8, 0u64, 1u64, 800);
15-
map_array!(map_8byte_8byte_64, 0u64, 1u64, 6400);
16-
map_array!(map_8byte_8byte_256, 0u64, 1u64, 25600);
14+
map_array!(map_8byte_8byte_8, 0u64, 1u64, 80);
15+
map_array!(map_8byte_8byte_64, 0u64, 1u64, 640);
16+
map_array!(map_8byte_8byte_256, 0u64, 1u64, 2560);
1717

18-
map_array!(map_8byte_256byte_256, 0u64, [0u64; 4], 25600);
19-
map_array!(map_256byte_8byte_256, [0u64; 4], 0u64, 25600);
18+
map_array!(map_8byte_256byte_256, 0u64, [0u64; 4], 2560);
19+
map_array!(map_256byte_8byte_256, [0u64; 4], 0u64, 2560);

0 commit comments

Comments
 (0)