From a11cbc7b579c5d471295d42e6dde19a749403877 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 31 Mar 2022 10:26:06 -0700
Subject: [PATCH] Use timestamp when storing latest bench.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 11ee4318e..f185cbe70 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ ghcid-test: ## run ghcid/stack with tests
 	ghcid -c "stack repl --ghc-options=-XNoImplicitPrelude --flag 'pandoc:embed_data_files' --ghci-options=-fobject-code pandoc:lib pandoc:test-pandoc"
 
 bench: ## build and run benchmarks
-	cabal bench --benchmark-options='$(BENCHARGS)' 2>&1 | tee "bench_latest.txt"
+	cabal bench --benchmark-options='$(BENCHARGS)' 2>&1 | tee "bench_$(TIMESTAMP).txt"
 #	stack bench \
 #	  --ghc-options '$(GHCOPTS)' \
 #	  --benchmark-arguments='$(BENCHARGS)' 2>&1 | \