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

Function parse_medium1

regex/regex-syntax/benches/bench.rs:44–49  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

42
43#[bench]
44fn parse_medium1(b: &mut Bencher) {
45 b.iter(|| {
46 let re = r"\pL\p{Greek}\p{Hiragana}\p{Alphabetic}\p{Hebrew}\p{Arabic}";
47 Parser::new().parse(re).unwrap()
48 });
49}
50
51#[bench]
52fn parse_medium2(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.80
iterMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected