You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
485 B
12 lines
485 B
#!/bin/bash
|
|
#
|
|
# Copyright 2017, Joe Tsai. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE.md file.
|
|
|
|
# zbench wraps internal/tool/bench and is useful for comparing benchmarks from
|
|
# the implementations in this repository relative to other implementations.
|
|
#
|
|
# See internal/tool/bench/main.go for more details.
|
|
cd $(dirname "${BASH_SOURCE[0]}")/internal/tool/bench
|
|
go run $(go list -f '{{ join .GoFiles "\n" }}') "$@"
|
|
|