File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright 2017, Joe Tsai. All rights reserved.
4+ # Use of this source code is governed by a BSD-style
5+ # license that can be found in the LICENSE.md file.
6+
7+ # zbench wraps internal/tool/bench and is useful for comparing benchmarks from
8+ # the implementations in this repository relative to other implementations.
9+ #
10+ # See internal/tool/bench/main.go for more details.
11+ cd $( dirname " ${BASH_SOURCE[0]} " ) /internal/tool/bench
12+ go run $( go list -f ' {{ join .GoFiles "\n" }}' ) " $@ "
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright 2017, Joe Tsai. All rights reserved.
4+ # Use of this source code is governed by a BSD-style
5+ # license that can be found in the LICENSE.md file.
6+
7+ # zfuzz wraps internal/tool/fuzz and is useful for fuzz testing each of
8+ # the implementations in this repository.
9+ cd $( dirname " ${BASH_SOURCE[0]} " ) /internal/tool/fuzz
10+ ./fuzz.sh " $@ "
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ $# == 0 ]; then
88 echo " Usage: $0 PKG_PATH TEST_ARGS..."
99 echo " "
1010 echo " Runs coverage and performance benchmarks for a given package."
11- echo " The results are stored in the _zprof_ directory"
11+ echo " The results are stored in the _zprof_ directory. "
1212 echo " "
1313 echo " Example:"
1414 echo " $0 flate -test.bench=Decode/Twain/Default"
You can’t perform that action at this time.
0 commit comments