Skip to content

[Draft] test: add failing test for performance issue#16

Draft
sladkoff wants to merge 2 commits intodanestves:mainfrom
sladkoff:main
Draft

[Draft] test: add failing test for performance issue#16
sladkoff wants to merge 2 commits intodanestves:mainfrom
sladkoff:main

Conversation

@sladkoff
Copy link
Copy Markdown
Contributor

Hi,

I have noticed the library performs very slowly with long lines of text ending with a character. This came up with some user-generated content...

I added a test and tracked down the performance issue to the 'atx-style header' regex. The test is only here for reproduction purposes.

Cheers!

@sladkoff
Copy link
Copy Markdown
Contributor Author

Unfortunately, the test doesn't run correctly in circleci. Should run locally.

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

Successfully merging this pull request may close these issues.

1 participant