summaryrefslogtreecommitdiff
path: root/benchmarks.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-12 22:55:30 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-12 22:55:30 -0800
commit243db9a55878b4be1829a448ef9a0bd14d3a42da (patch)
tree3f80d72de4a849ee4ff002714f1f150b190d669e /benchmarks.md
parentd39cd29b8763c248b416bcae15586132be00c686 (diff)
Updated benchmarks.
Diffstat (limited to 'benchmarks.md')
-rw-r--r--benchmarks.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmarks.md b/benchmarks.md
index 8d0087e..8b9e130 100644
--- a/benchmarks.md
+++ b/benchmarks.md
@@ -11,7 +11,7 @@ Some benchmarks, run on an ancient Thinkpad running Intel Core 2 Duo at 2GHz.
| cheapskate | 8.24 |
| peg-markdown | 5.45 |
| parsedown | 5.06 |
-| **commonmark.js** | 2.26 |
+| **commonmark.js** | 2.22 |
| marked | 1.93 |
| discount | 1.86 |
| **cmark** | 0.37 |
@@ -28,7 +28,7 @@ Markdown sources of all the localizations of the first edition of
time is the *difference* between the time to run the program
with the benchmark input and the time to run it with no input.
(This procedure ensures that implementations in dynamic languages are
-not penalized by startup time.) A median of ten runs is taken. The
+not penalized by startup time.) Amedian of ten runs is taken. The
process is reniced to a high priority so that the system doesn't
interrupt runs.
@@ -41,8 +41,8 @@ setting the `BENCHINP` environment variable.
Implementation | Ops/sec
----------------|-------------------
-commonmark.js | 485 ops/sec ±1.04%
-showdown.js | 170 ops/sec ±2.06%
-marked.js | 552 ops/sec ±0.43%
-markdown-it | 700 ops/sec ±1.05%
+commonmark.js | 516 ops/sec ±0.92%
+showdown.js | 169 ops/sec ±1.44%
+marked.js | 544 ops/sec ±0.76%
+markdown-it | 746 ops/sec ±0.68%