Skip to content

rosetta-rs/md-rosetta-rs

Repository files navigation

Rust Markdown Parsing Benchmarks

This repo tries to assess Rust markdown parsing performance.

We currently compare:

Formerly, we compared:

Suggestions:

  • Generally, pulldown-cmark

Results

Name Overhead (release) Build (debug) Parse (release) Downloads Version
null 0 KiB 222ms 4ms - -
comrak 549 KiB 17s 3ms Download count v0.21.0
markdown 931 KiB 1s 10ms Download count v1.0.0-alpha.16
minimad 26 KiB 603ms 4ms Download count v0.13.0
pulldown-cmark 708 KiB 1s 3ms Download count v0.9.6

System: Linux 5.4.0-124-generic (x86_64), rustc 1.75.0 (82e1608df 2023-12-21) w/ -j 8

Notes:

  • Overhead will be lower if your application shares dependencies with your argument parsing library.

Running the Benchmarks

$ ./bench.py
$ ./format.py

Releases

No releases published

Packages

No packages published

Languages