aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/benchmarks.md b/benchmarks.md
index 8c69362..f6324d7 100644
--- 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% |