This post demonstrates how Blackfire was used to identify slowness in the league/commonmark parser. These findings were then used to implement two simple optimizations resulting in a 53% performance boost!
CommonMark
Learn about the CommonMark initiative and how you can implement a CommonMark parser into your PHP projects.

Open-source PHP Markdown parser compatible with the CommonMark spec.