[Issue 13532] std.regex performance (enums; regex vs ctRegex)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 2 06:40:41 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=13532

--- Comment #6 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
2017 timings with LDC 1.2.0 (DMD v2.072.2, LLVM 4.0.0):

regexInline    7 secs, 342 ms, 775 μs, and 9 hnsecs
regexAuto    5 secs, 195 ms, and 526 μs
regexStatic    5 secs, 158 ms, 479 μs, and 2 hnsecs
regexEnum    18 secs, 777 ms, 420 μs, and 7 hnsecs
ctRegexInline    20 secs, 38 ms, and 25 μs
ctRegexAuto    6 secs, 16 ms, 155 μs, and 1 hnsec
ctRegexStatic    5 secs, 921 ms, 572 μs, and 3 hnsecs
ctRegexEnum    20 secs, 422 ms, 889 μs, and 4 hnsecs
reInline    5 secs, 84 ms, 943 μs, and 1 hnsec

--


More information about the Digitalmars-d-bugs mailing list