-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Severe performance regression #523
Comments
Sorry for the noise, it's caused by something in the MSYS2 environment. When run outside of it, such a slowdown doesn't occur. |
(Reopening due the following findings. But feel free to close if you see it as irrelevant.) I was interested in what's behind the heavy slowdown under MSYS2. Turns out there's exactly one single culprit, namely calling Line 72 in 76cbc2d
What's even crazier, it seems that under hood the Replacing the |
Interesting. This seems a perfectly good reason to use |
For some very rough benchmarking purposes I've just tried cmark and md2html from MD4C project to process the
benchinput.md
as produced by cmark'smake bench
.On my windows machine, cmark (current head) seems to take horrendous 40+ secs, while MD4C is below 1 sec still with a safe margin. cmark used to be about 2 times slower than MD4C so the current factor of 60 is quite significant.
P.S. Don't mind the zeroes for sys/user. Likely because it's the MSYS2 environment on Windows.
P.P.S. I haven't used cmark for year or two so the regression may be there for quite some time already.
The text was updated successfully, but these errors were encountered: