diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-24 11:07:01 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-24 11:07:01 -0800 |
commit | d6c615f2680e79bbb76cc85a056aadfe3524513f (patch) | |
tree | 1df0b3fe4a85a6ffcbaf06809318fc40ed062708 /tools | |
parent | 31530d93448bdf93c0797540a73c6b67586ad5e1 (diff) |
Removed JS implementation, which is moving to its own repo:
<https://github.com/jgm/commonmark.js>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/detailed_benchmarks.sh | 2 | ||||
-rw-r--r-- | tools/format_benchmarks.awk | 35 |
2 files changed, 0 insertions, 37 deletions
diff --git a/tools/detailed_benchmarks.sh b/tools/detailed_benchmarks.sh deleted file mode 100755 index 8bc76b4..0000000 --- a/tools/detailed_benchmarks.sh +++ /dev/null @@ -1,2 +0,0 @@ -sudo echo "" -for x in samples/*.md; do make benchjs BENCHINP=$x; done | awk -f tools/format_benchmarks.awk diff --git a/tools/format_benchmarks.awk b/tools/format_benchmarks.awk deleted file mode 100644 index 88dd7a3..0000000 --- a/tools/format_benchmarks.awk +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh env awk -BEGIN { - CONVFMT="%2.1f"; - print "| Sample |showdown |commonmark|marked |markdown-it|" - print "|------------------------|---------:|---------:|---------:|----------:|" -} -{ - if (/samples\//) { - sub(/samples\//, ""); - printf "|%-24s|", $7; - } else if (/^showdown/) { - sub(/,/, ""); - showdown = $4; - } else if (/^commonmark/) { - sub(/,/, ""); - commonmark = $4; - } else if (/^marked/) { - sub(/,/, ""); - marked = $4; - } else if (/^markdown-it/) { - sub(/,/, ""); - markdownit = $4; - printf "%10s|%10s|%10s|%11s|\n", - (showdown / showdown), - (commonmark / showdown), - (marked / showdown), - (markdownit / showdown); - markdownit = ""; - showdown = ""; - marked = ""; - commonmark = ""; - } else { - next; - } -} |