mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibJS: Increase time between garbage collections
This patch ups the max number of heap allocations between each GC from 10'000 to 100'000. This is still relatively aggressive but already does a good job of cutting down on time spent in GC.
This commit is contained in:
parent
c2c007b356
commit
f58b2a0358
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
size_t m_max_allocations_between_gc { 10000 };
|
||||
size_t m_max_allocations_between_gc { 100000 };
|
||||
size_t m_allocations_since_last_gc { 0 };
|
||||
|
||||
bool m_should_collect_on_every_allocation { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue