Repository navigation
Commit 7e32508
committed
[JSC] Raise the FTL tier-up thresholds on Linux ARM64 devices with four or fewer cores
https://bugs.webkit.org/show_bug.cgi?id=329738
Reviewed by Carlos Garcia Campos.
On small ARM64 Linux devices, FTL compiles many functions that do not
live long enough to pay back the compile. Speedometer is the clearest
case: it creates its workloads again in every iteration, so each new
instance of a function tiers up again from scratch. 317242@main raised
the tier-up thresholds for Macs with few performance cores for related
reasons; do the same for the FTL thresholds on Linux ARM64 devices with
four or fewer cores, by a factor of 4
Android is left out: it was not measured, and numberOfProcessorCores()
counts the online cores (_SC_NPROCESSORS_ONLN), which changes on phones
that take cores offline.
Measured on a Raspberry Pi 4 with the WPE perf bot 325247@main, we get a
+5.2% improvement in Speedometer 3.1 and a 2.8% improvement in JetStream
2.
* Source/JavaScriptCore/runtime/Options.cpp:
(JSC::overrideDefaults):
* Source/JavaScriptCore/runtime/OptionsList.h:
Canonical link: https://commits.webkit.org/325731@main1 parent 1a10955 commit 7e32508
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
647 | 655 | | |
648 | 656 | | |
649 | 657 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
0 commit comments