diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-24 21:35:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-24 21:39:07 -0800 |
commit | 829b089c80895d9a78938c5bc7747aea1cd48eb6 (patch) | |
tree | 53bd534741a90c547c5d87039efa5ee625da8081 /benchmarks.md | |
parent | 5ef31853d5161d4b5a2dfc0df94e6eaaeb3215d0 (diff) |
Removed implementation-specific material from repository.
The C and JS implementations are being split off into
different repositories.
This repository will just have the spec itself.
Diffstat (limited to 'benchmarks.md')
-rw-r--r-- | benchmarks.md | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/benchmarks.md b/benchmarks.md deleted file mode 100644 index 6427ff6..0000000 --- a/benchmarks.md +++ /dev/null @@ -1,33 +0,0 @@ -# Benchmarks - -Some benchmarks, run on an ancient Thinkpad running Intel Core 2 Duo at 2GHz. - -|Implementation | Time (sec)| -|-------------------|-----------:| -| Markdown.pl | 2921.24 | -| Python markdown | 291.25 | -| PHP markdown | 20.82 | -| kramdown | 17.32 | -| cheapskate | 8.24 | -| peg-markdown | 5.45 | -| parsedown | 5.06 | -| **commonmark.js** | 2.09 | -| marked | 1.93 | -| discount | 1.86 | -| **cmark** | 0.37 | -| sundown | 0.34 | - - -To run these benchmarks, use `make bench PROG=/path/to/program`. - -The input text is a 11MB Markdown file built by concatenating the -Markdown sources of all the localizations of the first edition of -[*Pro Git*](https://github.com/progit/progit/tree/master/en) by Scott Chacon. - -`time` is used to measure execution speed. The reported -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.) Amedian of ten runs is taken. The -process is reniced to a high priority so that the system doesn't -interrupt runs. |