Skip to content

Performance benchmarks #29

Answered by wooorm
lishid asked this question in Q&A
Oct 25, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi!

While performance is important, it is not the sole or most important, focus for this project.

The most important is syntax trees (no other parser does that so well as remark), specifically concrete ones (every character in the source code is accounted for; no other language that I know of in this area has this—JS, CSS, HTML, MD, it doesn’t exist). Where remark has done a lot with its syntax trees in the last 6 years, I think the CST will allow for a similar advancement in formatting and checking markdown.

Second is CM and GFM compliancy. While many parsers work towards CM, they often mess up to varying degrees on edge cases. For CM specifically, which has ±600 tests, I compared 1000 m…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lishid
Comment options

@wooorm
Comment options

Answer selected by lishid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants