Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0054cebd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Run testSerializeFontMap longer."

parents 58cc403a b31100da
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -59,9 +59,8 @@ public class TypefaceSerializationPerfTest {
        Typeface.loadPreinstalledSystemFontMap();
    }

    @ManualBenchmarkState.ManualBenchmarkTest(
            warmupDurationNs = WARMUP_DURATION_NS,
            targetTestDurationNs = TARGET_TEST_DURATION_NS)
    // testSerializeFontMap uses the default targetTestDurationNs, which is much longer than
    // TARGET_TEST_DURATION_NS, in order to stabilize test results.
    @Test
    public void testSerializeFontMap() throws Exception {
        Map<String, Typeface> systemFontMap = Typeface.getSystemFontMap();