Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install cmake
run: sudo apt-get update && sudo apt-get install cmake -y
- name: Build Binaries
run: make binaries
run: make binaries -j 5
- name: Run Benchmarks
run: make bench-all
- name: Post result comment
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Comrak


[![Build Status](https://github.com/kivikakk/comrak/actions/workflows/rust.yml/badge.svg)](https://github.com/kivikakk/comrak/actions/workflows/rust.yml) ![Spec
Status: 671/671](https://img.shields.io/badge/specs-671%2F671-brightgreen.svg) [![Financial Contributors on Open
Collective](https://opencollective.com/comrak/all/badge.svg?label=financial+contributors)](https://opencollective.com/comrak)
Expand Down
10 changes: 10 additions & 0 deletions bench-output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `./bench.sh ./comrak-645bf34` | 313.0 ± 4.8 | 305.0 | 326.9 | 2.72 ± 0.10 |
| `./bench.sh ./comrak-main` | 313.8 ± 4.0 | 301.2 | 320.4 | 2.73 ± 0.10 |
| `./bench.sh ./pulldown-cmark` | 115.2 ± 3.8 | 106.9 | 120.8 | 1.00 |
| `./bench.sh ./cmark-gfm` | 136.5 ± 4.5 | 127.2 | 145.3 | 1.19 ± 0.06 |
| `./bench.sh ./markdown-it` | 503.5 ± 5.0 | 494.2 | 515.8 | 4.37 ± 0.15 |


Run on Wed Jun 28 06:41:17 AM UTC 2023
6 changes: 6 additions & 0 deletions op1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `./bench.sh ./comrak-a798db3` | 345.7 ± 3.8 | 338.5 | 356.4 | 2.17 ± 0.04 |
| `./bench.sh ./comrak-main` | 344.7 ± 2.9 | 338.4 | 349.6 | 2.16 ± 0.04 |
| `./bench.sh ./pulldown-cmark` | 159.7 ± 2.7 | 152.8 | 164.8 | 1.00 |
| `./bench.sh ./cmark-gfm` | 163.1 ± 4.5 | 153.6 | 172.0 | 1.02 ± 0.03 |
6 changes: 6 additions & 0 deletions op2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `./bench.sh ./comrak-a798db3` | 298.6 ± 3.0 | 293.2 | 305.9 | 2.78 ± 0.09 |
| `./bench.sh ./comrak-main` | 301.9 ± 3.9 | 293.7 | 309.5 | 2.81 ± 0.09 |
| `./bench.sh ./pulldown-cmark` | 107.5 ± 3.3 | 101.3 | 116.1 | 1.00 |
| `./bench.sh ./cmark-gfm` | 125.2 ± 3.1 | 119.1 | 130.6 | 1.16 ± 0.05 |