MCPcopy Create free account
hub / github.com/bitflags/bitflags / format_flags_5_present

Function format_flags_5_present

benches/parse.rs:45–47  ·  view source on GitHub ↗
(b: &mut test::Bencher)

Source from the content-addressed store, hash-verified

43
44#[bench]
45fn format_flags_5_present(b: &mut test::Bencher) {
46 b.iter(|| (Flags10::F | Flags10::G | Flags10::H | Flags10::I | Flags10::J).to_string())
47}
48
49#[bench]
50fn format_flags_10_present(b: &mut test::Bencher) {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected