cmark

My personal build of CMark ✏️

Commit
bdf6f4fe614e1065b74622e7f359d998be5e491e
Parent
68521f95431622806279e32a8c015121f7ce1c47
Author
John MacFarlane <jgm@berkeley.edu>
Date

Updated benchmarks.md.

Diffstat

1 file changed, 12 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified benchmarks.md 13 12 1
diff --git a/benchmarks.md b/benchmarks.md
@@ -10,7 +10,7 @@ Some benchmarks, run on an ancient Thinkpad running Intel Core 2 Duo at 2GHz.
 | lunamark          | 6.295      |    31.5 |
 | cheapskate        | 5.760      |    28.8 |
 | peg-markdown      | 5.450      |    27.3 |
-| **commonmark.js** | 2.675      |    13.4 |
+| **commonmark.js** | 2.500      |    12.5 |
 | marked            | 1.855      |     9.3 |
 | discount          | 1.705      |     8.5 |
 | **cmark**         | 0.280      |     1.4 |
@@ -31,3 +31,14 @@ not penalized by startup time.) A median of ten runs is taken.  The
 process is reniced to a high priority so that the system doesn't
 interrupt runs.
 
+## JavaScript libraries
+
+Here are some JavaScript benchmarks using `node.js`.
+They can be run using `make benchjs`:
+
+|Implementation     |  ops/sec    |
+|-------------------|-------------|
+| showdown.js       | 173 ±1.43%  |
+| **commonmark.js** | 371 ±1.20%  |
+| marked.js         | 554 ±0.48%  |
+| markdown-it       | 694 ±0.97%  |