diff options
author | jcgregorio <jcgregorio@google.com> | 2016-08-29 13:33:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-29 13:33:04 -0700 |
commit | 1703bd18acd24bc42883b2fcd251bc75a7382d67 (patch) | |
tree | b58be254f3ac9208e2334ebe426614079e3884f0 | |
parent | 3cc22180561ae17a64ff0e0f9ba173eac149009e (diff) |
benchmarks: Avoid brackets and commas in test names.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2295483002
Review-Url: https://codereview.chromium.org/2295483002
-rw-r--r-- | bench/BlurRoundRectBench.cpp | 2 | ||||
-rw-r--r-- | bench/PatchBench.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bench/BlurRoundRectBench.cpp b/bench/BlurRoundRectBench.cpp index ef88422e3c..713996c0ca 100644 --- a/bench/BlurRoundRectBench.cpp +++ b/bench/BlurRoundRectBench.cpp @@ -25,7 +25,7 @@ class BlurRoundRectBench : public Benchmark { public: BlurRoundRectBench(int width, int height, int cornerRadius) : fName("blurroundrect") { - fName.appendf("_WH[%ix%i]_cr[%i]", width, height, cornerRadius); + fName.appendf("_WH_%ix%i_cr_%i", width, height, cornerRadius); SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); fRRect.setRectXY(r, SkIntToScalar(cornerRadius), SkIntToScalar(cornerRadius)); } diff --git a/bench/PatchBench.cpp b/bench/PatchBench.cpp index 80d5ce0db1..f029584a45 100644 --- a/bench/PatchBench.cpp +++ b/bench/PatchBench.cpp @@ -101,7 +101,7 @@ protected: } SkString type; this->appendName(&type); - fName.printf("patch_%s_%s_[%f,%f]", type.c_str(), vertexMode.c_str(), + fName.printf("patch_%s_%s_%fx%f", type.c_str(), vertexMode.c_str(), fScale.x(), fScale.y()); return fName.c_str(); } |