From bdf6f4fe614e1065b74622e7f359d998be5e491e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 9 Jan 2015 15:00:35 -0800 Subject: Updated benchmarks.md. --- benchmarks.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'benchmarks.md') 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% | -- cgit v1.2.3