Changeset 277326 in webkit
- Timestamp:
- May 11, 2021 8:52:17 AM (3 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r277312 r277326 1 2021-05-10 Filip Pizlo <fpizlo@apple.com> 2 3 Tune number of threads for AS 4 https://bugs.webkit.org/show_bug.cgi?id=225635 5 6 Reviewed by Mark Lam. 7 8 Using 4 GC markers (which really means 3 parallel GC worker threads -- the mutator thread is 9 the 4th), 2 DFG threads, and 2 FTL threads seems to be more optimal than going off ncpu. 10 11 ~1% JetStream2 speed-up, ~1% Speedometer2 speed-up. 12 13 * runtime/Options.cpp: 14 (JSC::overrideDefaults): 15 1 16 2021-05-10 Mark Lam <mark.lam@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/Options.cpp
r277110 r277326 352 352 Options::gcIncrementScale() = 0; 353 353 } 354 355 #if PLATFORM(MAC) && CPU(ARM64) 356 Options::numberOfGCMarkers() = 4; 357 Options::numberOfDFGCompilerThreads() = 2; 358 Options::numberOfFTLCompilerThreads() = 2; 359 #endif 354 360 355 361 #if USE(BMALLOC_MEMORY_FOOTPRINT_API)
Note: See TracChangeset
for help on using the changeset viewer.