Skip to content
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

Strange performance drop when running 10000 iterations #2

Open
Knagis opened this issue Sep 18, 2014 · 1 comment
Open

Strange performance drop when running 10000 iterations #2

Knagis opened this issue Sep 18, 2014 · 1 comment

Comments

@Knagis
Copy link
Contributor

Knagis commented Sep 18, 2014

See the newest version of my benchmark tool. Once I upped the # of iterations to 10000, CommonMarkSharp experienced a huge drop in performance for small inputs (as large as 5 sec vs 500ms). Of course it is still ~0.5ms per iteration but its 10x faster when the number of iterations is 2000 so something strange is going on...

empty.text    12 B   (10000 iterations)

             Library    Total   Each   vs Baseline
--------------------------------------------------
            Baseline      529      0   100%
      CommonMark.NET      243      0   46%
     CommonMarkSharp     5467      1   1033%
       MarkdownSharp      582      0   110%
        MarkdownDeep      269      0   51%
@MortenHoustonLudvigsen
Copy link
Owner

Hmm... that doesn't sound good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants