python Markdown 解析库速度比较
作者推荐 Misaka,mistune。
Misaka: A python binding for Sundown. (CPython required)
Hoedown: A python binding for Hoedown, successor of Misaka.
Discount: A python binding for Discount. (CPython required)
cMarkdown: Markdown for Python, accelerated by C. (CPython required)
Markdown: A pure markdown parser, the very first implementation.
Markdown2: Another pure markdown parser.
mistune: The fastest markdown parser in pure Python.
Parsing the Markdown Syntax document 1000 times...
Mistune: 12.7255s
Mistune (with Cython): 9.74075s
Misaka: 0.550502s
Markdown: 46.4342s
Markdown2: 78.2267s
cMarkdown: 0.664128s
0
See Also
- python解析apk包信息
- go+json 还是没有python+json 结合得完美,解析速度比python 慢
- 在 .NET 5 上运行 Python,为了欢迎老爹
- python不同方法倒转一个list 的效率对比
- leveldb + python 的数据库方案
Nearby
- 上一篇 › 不能发带图片的帖子吗
- 下一篇 › youbbs终于出来了,可喜可贺