protobuf-go/internal/benchmarks/download_benchdata.bash
Damien Neil 025a0d2da1 benchmarks: rename to internal/benchmarks
I've come to agree with Joe about the proper location for this.

Change-Id: Ia5adbd1cd18f8cf40f7c3cc6bf8c7833dac37f20
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/214041
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-01-09 18:21:53 +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