[Issue 17161] [REG 2.072.2] Massive Regex Slowdown

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 9 14:39:30 PST 2017


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

Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com

--- Comment #3 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
(In reply to Jack Stouffer from comment #2)
> Bad news: I see a similar performance decrease for run-time regex as well.
> 
> # 2.073.0
> $ dmd -O -inline -release test2.d && cat input5000000.txt | time ./test2
> ./test2  4.44s user 0.09s system 98% cpu 4.591 total
> 
> # 2.072.2
> ~/digger/result/bin/dmd -O -inline -release test2.d && cat input5000000.txt
> | time ./test2
> ./test2  3.20s user 0.09s system 98% cpu 3.344 total
> 
> I consistently get around a second and a half longer run time with 2.073.
> 

This is interesting find, thanks for sharing!

Will investigate the R-T issue, C-T is (sadly) to be expected.

--


More information about the Digitalmars-d-bugs mailing list