This is how a very tight `-import-instr-limit` impacts binary size: ``` Optimization AArch Size, MB (geckoview_example.apk) -Oz 32 44.0 -O2,instr-limit=1 32 49.2 -O2,instr-limit=3 32 49.5 -O2,instr-limit=5 32 50.2 -O2,instr-limit=10 32 50.9 -O2 32 53.7 -O3 32 54.9 -Oz 64 50.2 -O2,instr-limit=1 64 55.5 -O2,instr-limit=3 64 55.7 -O2,instr-limit=5 64 56.2 -O2,instr-limit=10 64 57.0 -O2 64 60.9 -O3 64 62.6 ``` So far the speedometer results for all of these combinations are within noise of the plain `-O2` build. I'll run more pageload tests on the weekend when the device farm is in less demand.
Bug 1591725 Comment 25 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This is how a very tight `-import-instr-limit` impacts binary size: ``` Optimization AArch Size, MB (geckoview_example.apk) -Oz 32 44.0 -O2,instr-limit=1 32 49.2 -O2,instr-limit=3 32 49.5 -O2,instr-limit=5 32 50.2 -O2,instr-limit=10 32 50.9 -O2 32 53.7 -O3 32 54.9 -Oz 64 50.7 -O2,instr-limit=1 64 55.5 -O2,instr-limit=3 64 55.7 -O2,instr-limit=5 64 56.2 -O2,instr-limit=10 64 57.0 -O2 64 60.9 -O3 64 62.6 ``` So far the speedometer results for all of these combinations are within noise of the plain `-O2` build. I'll run more pageload tests on the weekend when the device farm is in less demand.