Skip to content

Commit

Permalink
[benchmarks/regcomp-cache] Fix compare function
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Dec 20, 2023
1 parent e544a91 commit 86c8aa2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions benchmarks/regcomp-cache/run.sh
Expand Up @@ -61,8 +61,11 @@ compare() {
# with OSH
{ time $bin $0 match-many; } >$dir/osh-stdout.txt 2>$dir/osh-time.txt

diff -u $dir/*-stdout.txt # should have equal output
head $dir/*-time.txt # show timings
# should have equal output except for version
diff $dir/*-stdout.txt || true

# show timings
head $dir/*-time.txt
}


Expand Down

0 comments on commit 86c8aa2

Please sign in to comment.