github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/internal/mkbench/testdata/README.md (about) 1 testdata 2 ======== 3 4 The files in this directory serve as test fixtures, used for validating that 5 the `mkbench` command produces the expected output when reading and writing 6 various Pebble benchmark data. 7 8 The data was generated by downloading a sample of existing raw benchmark log 9 data from the 10 [`pebble-benchmarks`](https://s3.console.aws.amazon.com/s3/buckets/pebble-benchmarks) 11 S3 bucket. The data was trimmed so as to reduce the amount of data checked into 12 version control, with something akin to: 13 14 ```bash 15 for _file in $(find "$DOWNLOADED_DATA" -name '*.gz'); do 16 gunzip --to-stdout "$_file" \ 17 | grep 'Benchmarkycsb' -B 10 -A 10 \ 18 | gzip > "$OUTPUT_DIR/$(basename "$_file")" 19 done 20 ```