From d6c615f2680e79bbb76cc85a056aadfe3524513f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 24 Jan 2015 11:07:01 -0800 Subject: Removed JS implementation, which is moving to its own repo: --- tools/format_benchmarks.awk | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 tools/format_benchmarks.awk (limited to '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; - } -} -- cgit v1.2.3