MCPcopy Create free account
hub / github.com/davidblewett/rure-python / parse_huge

Function parse_huge

regex/bench/src/rust_parse.rs:39–44  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

37
38#[bench]
39fn parse_huge(b: &mut Bencher) {
40 b.iter(|| {
41 let re = r"\p{L}{100}";
42 Expr::parse(re).unwrap()
43 });
44}

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.80
parseFunction · 0.50
iterMethod · 0.45

Tested by

no test coverage detected