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

Performance fixes #14

Merged
merged 10 commits into from Jan 14, 2018

Conversation

Projects
None yet
1 participant
@mike42
Owner

mike42 commented Jan 14, 2018

This pull request makes a significant performance improvement to the parser.

Average execution time over 10 runs for the Images example (39kb of wikitext).

  • Before: 20.65 seconds
  • After: 0.145 seconds

The speedup is around 142 x.

The output of some buggy code has changed slightly, but no correct output was harmed in the making of this code.

@mike42 mike42 merged commit 542dfe7 into master Jan 14, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment