| 1 | # Generating microbench data |
| 2 | |
| 3 | The full versions of these files are located |
| 4 | [in another part of the repository](https://github.com/unicode-org/icu/tree/main/icu4j/perf-tests/data). |
| 5 | |
| 6 | ## Sanitizing the file |
| 7 | |
| 8 | ```shell |
| 9 | sed -i '/^#/d' ${filename} |
| 10 | sed -i '/^$/d' ${filename} |
| 11 | ``` |
| 12 | |
| 13 | ## Shuffling the file |
| 14 | |
| 15 | ```shell |
| 16 | shuf -n 20 ${filename} -o ${filename} |
| 17 | ``` |
| 18 | |
| 19 | ## Add back the header (if you plan on submitting the files) |
| 20 | |
| 21 | ``` |
| 22 | # This file is part of ICU4X. For terms of use, please see the file |
| 23 | # called LICENSE at the top level of the ICU4X source tree |
| 24 | # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
| 25 | ``` |