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

Skip to content
Commit 9753dd74 authored by Tim Murray's avatar Tim Murray Committed by Tyler Freeman
Browse files

FontScaleConverterFactoryTest: 15x perf increase

Most of the time is spent in object allocation for the assert. Check
to see if the calculation would fail, and only actually run the assert
if it fails.

Test: atest FontScaleConverterFactoryTest#allFeasibleScalesAndConversionsDoNotCrash
Bug: 270054472
Change-Id: Id879c5442869766ec89e5e8173152d2db6631fd4
parent f19df858
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment