1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:21:00 +00:00
serenity/Userland
Andrew Kaster 4e7bdcfeea LibJS: Only start ElapsedTimer for GC metrics when printing is enabled
We don't need to be checking the current time unconditionally when we
only observe the results if we're going to dump the GC stats.

This saves two trips to clock_gettime at the cost of an extra branch.
2023-01-07 14:51:04 +01:00
..
Applets LibGUI+Everywhere: Use fallible Window::set_main_widget() everywhere :^) 2023-01-06 13:36:02 -07:00
Applications 3DFileViewer: Use AK::Time to accumulate frame and cycle counts 2023-01-07 14:51:04 +01:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos Everywhere: Use ElapsedTimer::elapsed_time() for comparisons 2023-01-07 14:51:04 +01:00
DevTools Everywhere: Use ElapsedTimer::elapsed_time() for comparisons 2023-01-07 14:51:04 +01:00
DynamicLoader DynamicLoader: Remove i686 support 2022-12-28 11:53:41 +01:00
Games LibGUI+Userland: Rename try_load_from_gml() -> load_from_gml() :^) 2023-01-07 14:39:30 +01:00
Libraries LibJS: Only start ElapsedTimer for GC metrics when printing is enabled 2023-01-07 14:51:04 +01:00
Services Everywhere: Use ElapsedTimer::elapsed_time() for comparisons 2023-01-07 14:51:04 +01:00
Shell Everywhere: Fix badly-formatted includes 2023-01-02 11:06:15 -05:00
Utilities LibGfx+icc: Print fields that are fourccs registered with the ICC 2023-01-07 13:41:41 +00:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00