(md/performance)=

Performance

You can view our continuous integration benchmarking analysis at: https://executablebooks.github.io/markdown-it-py/dev/bench/, or you can run it for yourself within the repository:

tox -e py311-bench-packages -- --benchmark-columns mean,stddev
packageversionmean (ms)stddev
markdown-it-pyrs[^1]0.2.16.4100.426
mistune[^2]3.0.180.4092.335
markdown-it-py3.0.097.2424.427
mistletoe1.1.099.6334.628
commonmark-py0.9.1300.4039.706
pymarkdown3.4.3387.77510.394
pymarkdown (+extras)3.4.3646.56411.316
panflute2.3.0860.105208.607

As you can see, markdown-it-py doesn‘t pay with speed for it’s flexibility.

[^1]: markdown-it-pyrs is a Rust implementation of markdown-it-py's parser, in beta development, check it out at: https://github.com/chrisjsewell/markdown-it-pyrs [^2]: mistune is not CommonMark compliant, which is what allows for its faster parsing, at the expense of issues, for example, with nested inline parsing. See mistletoes's explanation for further details.