protobuf-go/benchmarks/download_benchdata.bash
Damien Neil 0eee7eb396 benchmarks: move download_benchdata.bash into benchmarks/ dir
Change-Id: Ic47efde4a5c4dff204b6faca78c0d1ec99ec3aac
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/184944
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-07-09 22:36:27 +00:00

12 lines
390 B
Bash
Executable File

#!/bin/bash
# Copyright 2019 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Download large benchmark datasets.
cd "$(git rev-parse --show-toplevel)"
mkdir -p .cache/benchdata
cd .cache/benchdata
curl -s https://storage.googleapis.com/protobuf_opensource_benchmark_data/datasets.tar.gz | tar zx