diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 15:00:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 15:00:35 -0800 |
commit | bdf6f4fe614e1065b74622e7f359d998be5e491e (patch) | |
tree | b913a087300218babd7c7a995fd84a2f6752c5bb | |
parent | 68521f95431622806279e32a8c015121f7ce1c47 (diff) |
Updated benchmarks.md.
-rw-r--r-- | benchmarks.md | 13 |
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% | |