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

Function parse_flags_10_10

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

Source from the content-addressed store, hash-verified

81
82#[bench]
83fn parse_flags_10_10(b: &mut test::Bencher) {
84 b.iter(|| {
85 let flags: Flags10 = "A | B | C | D | E | F | G | H | I | J".parse().unwrap();
86 flags
87 })
88}
89
90#[bench]
91fn parse_flags_1_10_hex(b: &mut test::Bencher) {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected