ladybird/Userland
flofriday a2abc5b824 LibJS: Improve garbage collection trigger condition
This patch triggers the collector when allocated memory doubles instead
of every 100k allocations. Which can almost half (reduce by ~48%) the
time spent on collection when loading google-maps.

This dynamic approach is inspired by some other GCs like Golang's and
Lua's and improves performance in memory heavy applications because
marking must visit old objects which will dominate the marking phase if
the GC is invoked too often.

This commit also improves the Octane Splay benchmark and almost
doubles it :^)
2023-08-09 18:32:19 +02:00
..
Applets Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Applications LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
BuggieBox Userland: Pretty print the help text in BuggieBox 2023-08-09 02:10:02 +02:00
Demos Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
DevTools Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
DynamicLoader Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
Games Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Libraries LibJS: Improve garbage collection trigger condition 2023-08-09 18:32:19 +02:00
Services Browser+WebDriver: Set the initial URL to about:blank from WebDriver 2023-08-09 05:33:24 +02:00
Shell Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Utilities usermod: Make error message less verbose 2023-08-08 15:15:43 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00