benchmarks: Avoid brackets and commas in test names.
authorjcgregorio <jcgregorio@google.com>
Mon, 29 Aug 2016 20:33:04 +0000 (13:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Aug 2016 20:33:04 +0000 (13:33 -0700)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2295483002

Review-Url: https://codereview.chromium.org/2295483002

bench/BlurRoundRectBench.cpp
bench/PatchBench.cpp

index ef88422..713996c 100644 (file)
@@ -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));
     }
index 80d5ce0..f029584 100644 (file)
@@ -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();
     }