cmark

My personal build of CMark ✏️

Commit
83ef1391dca33815c18965e585cf30335bf23e6f
Parent
a595d4a6d1cb0cccaa0d198939eff172b48c99c8
Author
John MacFarlane <fiddlosopher@gmail.com>
Date

'make bench': Use larger benchmark file, fewer runs.

Diffstat

1 file changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified Makefile 4 2 2
diff --git a/Makefile b/Makefile
@@ -116,7 +116,7 @@ fuzztest:
 
 # for benchmarking
 benchmark.md: progit/progit.md
-	-rm $@; for x in `seq 1 20` ; do cat $< >> $@; done
+	-rm $@; for x in `seq 1 40` ; do cat $< >> $@; done
 
 progit:
 	git clone https://github.com/progit/progit.git
@@ -126,7 +126,7 @@ progit/progit.md: progit
 
 bench: benchmark.md
 	{ sudo renice 99 $$$$; \
-	  for x in `seq 1 20` ; do \
+	  for x in `seq 1 10` ; do \
 	  /usr/bin/env time -p ${PROG} $< >/dev/null ; \
 		  done \
 	} 2>&1  | grep 'real' |\