commit | 935de968eb673b9b7bb7b639f7867eb150c80cc9 | [log] [tgz] |
---|---|---|
author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | Tue Apr 28 17:08:20 2015 +0900 |
committer | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | Tue Apr 28 17:08:20 2015 +0900 |
tree | f0eab48fbd900bebdb99dc0f8a1a56f24f6b021e | |
parent | bf66cb0045541da91b5fcdea93827aff68e4b880 [diff] |
use pattern for outputPatterns outputPatterns should be <prefix>%<suffix>. It is waste to find % in every time. parse outputPattern as pattern (<prefix>, <suffix>) and use it. before: repo/android.sh kati -c # with cpuprofile 82.04s canPickImplicitRule 27.17s (34.34%) matchPattern 19.11s (23.29%) out of the above strings.IndexByte 16.96s (20.67%) out of the above after: repo/android.sh kati -c # with cpuprofile 64.04s canPickImplicitRule 8.08s (12.62%) pattern.match 3.45s (5.39%)