1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:47:45 +00:00
serenity/Userland
Andreas Kling 269f9c6863 LibWeb: Add fast-paths for wrapping already-wrapped C++ objects
If a C++ object already has a JS wrapper, we don't need to go through
the expensive type checks to figure out which kind of wrapper to create.
Instead, just return the wrapper we already have!

This gives a noticeable increase in smoothness on Acid3, where ~10% of
CPU time was previously spent doing RTTI type checks in wrap(). With
these changes, it's down to ~1%.
2022-03-27 03:21:29 +02:00
..
Applets ClipboardHistory: Show ranges and max dimensions for copied glyphs 2022-03-18 01:12:26 +01:00
Applications WindowServer+LibGUI: Expose raw scroll wheel values to applications 2022-03-27 01:11:27 +01:00
Demos Demos/LibGfxScaleDemo: Use BGRA8888 bitmap in canvas 2022-03-26 18:24:11 +00:00
DevTools Profiler: Render signposts behind histograms 2022-03-24 14:35:47 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games LibCards+Games: Change name of card type to card suit 2022-03-18 23:49:34 +00:00
Libraries LibWeb: Add fast-paths for wrapping already-wrapped C++ objects 2022-03-27 03:21:29 +02:00
Services WindowServer+LibGUI: Expose raw scroll wheel values to applications 2022-03-27 01:11:27 +01:00
Shell Shell: Limit the access of processes spawned for autocompletion 2022-03-26 21:34:56 +04:30
Utilities tee: Port to LibMain and move to SerenityOS code patterns 2022-03-26 18:39:58 +00:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00