download_benchdata.bash 390 B

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