4 ms·
It can. I did it here: https://github.com/BurntSushi/rebar/tree/ag/regexinit/record/curated/2023-07-05 https://github.com/BurntSushi/rebar/tree/ag/regexinit/rec
by burntsushi 3y ago
It can. I did it here: https://github.com/BurntSushi/rebar/tree/ag/regexinit/record/curated/2023-07-05 https://github.com/BurntSushi/rebar/tree/ag/regexinit/record...
And the PR: https://github.com/BurntSushi/rebar/pull/3 https://github.com/BurntSushi/rebar/pull/3
Although I probably won't merge it. Overall results:
$ rebar rank record/curated/2023-07-05/*.csv -M compile --intersection
Engine Version Geometric mean of speed ratios Benchmark count
------ ------- ------------------------------ ---------------
rust/regex 1.9.0 1.03 34
rust/regexold 1.7.3 3.12 34
rust/regexinit 1.0.0 4.35 34
You can explore individual benchmarks in either the README I linked above, or by checkout out that PR and running this:
rebar cmp record/curated/2023-07-05/*.csv -M compile --intersection
(You'll need to build rebar first of course though.)
- Dowwie 3y agoMore than 2x improvement :). It started off fast and just kept getting faster. Congrats.