Skip to content

Commit

Permalink
Rollup merge of #108023 - JulianKnodt:smaller_benchmark, r=workingjub…
Browse files Browse the repository at this point in the history
…ilee

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
  • Loading branch information
matthiaskrgr committed Feb 14, 2023
2 parents 3eb5731 + 826abcc commit d599be0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions library/core/benches/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ macro_rules! map_array {
};
}

map_array!(map_8byte_8byte_8, 0u64, 1u64, 800);
map_array!(map_8byte_8byte_64, 0u64, 1u64, 6400);
map_array!(map_8byte_8byte_256, 0u64, 1u64, 25600);
map_array!(map_8byte_8byte_8, 0u64, 1u64, 80);
map_array!(map_8byte_8byte_64, 0u64, 1u64, 640);
map_array!(map_8byte_8byte_256, 0u64, 1u64, 2560);

map_array!(map_8byte_256byte_256, 0u64, [0u64; 4], 25600);
map_array!(map_256byte_8byte_256, [0u64; 4], 0u64, 25600);
map_array!(map_8byte_256byte_256, 0u64, [0u64; 4], 2560);
map_array!(map_256byte_8byte_256, [0u64; 4], 0u64, 2560);

0 comments on commit d599be0

Please sign in to comment.