Backed out changeset 40934888ed06 (bug 1395527) for Android bustage at uriloader/exthandler/android/nsMIMEInfoAndroid.cpp:62: too many arguments to function 'bool IsUTF8(const nsACString&)'. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sat, 02 Sep 2017 10:39:06 +0200
changeset 427934 e990298e1596c5d5df0a73c929c0dacef88f5e53
parent 427933 cae6eeaf3f0c73cb62b87f465e9dd69ea2132bd3
child 427935 7a5f1092920acfd6bf70e055e40c96084185f258
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1395527
milestone57.0a1
backs out40934888ed06465982350390750128f1dbdc831b
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 40934888ed06 (bug 1395527) for Android bustage at uriloader/exthandler/android/nsMIMEInfoAndroid.cpp:62: too many arguments to function 'bool IsUTF8(const nsACString&)'. r=backout
xpcom/tests/gtest/TestStrings.cpp
--- a/xpcom/tests/gtest/TestStrings.cpp
+++ b/xpcom/tests/gtest/TestStrings.cpp
@@ -1350,74 +1350,9 @@ MOZ_GTEST_BENCH(Strings, PerfStripCharsC
       test1.StripChars("\r\n");
       test2.StripChars("\r\n");
       test3.StripChars("\r\n");
       test4.StripChars("\r\n");
       test5.StripChars("\r\n");
     }
 });
 
-// Setup overhead test
-#define OneASCII "a"
-
-// Maximal non-SIMD legth
-#define FifteenASCII "Lorem ipsum dol"
-
-// Around hundred is common length for IsUTF8 check
-#define HundredASCII "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ac tellus eget velit viverra viverra i"
-
-MOZ_GTEST_BENCH(Strings, PerfIsUTF8One, [] {
-    nsCString test(OneASCII);
-    for (int i = 0; i < 200000; i++) {
-      IsUTF8(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsUTF8Fifteen, [] {
-    nsCString test(FifteenASCII);
-    for (int i = 0; i < 200000; i++) {
-      IsUTF8(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsUTF8Hundred, [] {
-    nsCString test(HundredASCII);
-    for (int i = 0; i < 200000; i++) {
-      IsUTF8(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsUTF8Example3, [] {
-    nsCString test(TestExample3);
-    for (int i = 0; i < 100000; i++) {
-      IsUTF8(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsASCII8One, [] {
-    nsCString test(OneASCII);
-    for (int i = 0; i < 200000; i++) {
-      IsASCII(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsASCIIFifteen, [] {
-    nsCString test(FifteenASCII);
-    for (int i = 0; i < 200000; i++) {
-      IsASCII(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsASCIIHundred, [] {
-    nsCString test(HundredASCII);
-    for (int i = 0; i < 200000; i++) {
-      IsASCII(test);
-    }
-});
-
-MOZ_GTEST_BENCH(Strings, PerfIsASCIIExample3, [] {
-    nsCString test(TestExample3);
-    for (int i = 0; i < 100000; i++) {
-      IsUTF8(test);
-    }
-});
-
 } // namespace TestStrings