1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Userland/Libraries
Brian Gianforcaro 39f924a731 LibELF: Skip DynamicObject::dump() if logging isn't enabled
I noticed that we were populating this StringBuilder and then throwing
away the result while profiling `true` with UserSpace emulator.

Before:

    courage:~ $ time -n 1000 true
    Timing report: 3454 ms
    ==============
    Command:         true
    Average time:    3.45 ms (median: 3, stddev: 3.42, min: 0, max:11)
    Excluding first: 3.45 ms (median: 3, stddev: 3.42, min: 0, max:11)

After:

    courage:~ $ time -n 1000 true
    Timing report: 3308 ms
    ==============
    Command:         true
    Average time:    3.30 ms (median: 3, stddev: 3.28, min: 0, max:12)
    Excluding first: 3.30 ms (median: 3, stddev: 3.29, min: 0, max:12)
2022-03-31 10:18:07 +02:00
..
LibArchive Libraries: Change enums to enum classes in LibArchive 2022-03-18 19:59:43 +01:00
LibAudio LibAudio: Make sure we initialize ResampleHelper member variables 2022-03-27 16:43:05 -07:00
LibC LibC: Implement getdtablesize() 2022-03-29 22:49:27 +01:00
LibCards LibCards+Games: Change name of card type to card suit 2022-03-18 23:49:34 +00:00
LibChess Chess: On pgn import avoid losing piece promotion info 2022-03-26 18:30:12 +00:00
LibCompress Libraries: Use default constructors/destructors in LibCompress 2022-03-10 18:04:26 -08:00
LibConfig Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer 2022-02-25 22:35:12 +01:00
LibCore LibCore: Add syscall wrapper for access() 2022-03-29 21:28:29 -07:00
LibCoredump Libraries: Use default constructors/destructors in LibX86 2022-03-13 22:34:38 +01:00
LibCpp LibCpp: Change class_name to use StringView instead of char const* 2022-03-19 00:20:46 +00:00
LibCrypt
LibCrypto LibCrypto: Correctly add length to SHA384 and SHA512 hashes 2022-03-26 02:25:23 +04:30
LibDebug Libraries: Use default constructors/destructors in LibDebug 2022-03-10 18:04:26 -08:00
LibDesktop Libraries: Use default constructors/destructors in LibDesktop 2022-03-10 18:04:26 -08:00
LibDeviceTree
LibDiff LibDiff: Generate hunks for new/deleted files 2022-03-08 23:30:47 +01:00
LibDl Libraries: Use default constructors/destructors in LibDl 2022-03-10 18:04:26 -08:00
LibDSP AK+Everywhere: Add sincos and use it in some places 2022-03-15 11:39:42 +01:00
LibEDID LibEDID: Fix DetailedTiming::pixel_clock_khz result 2022-03-08 22:07:59 +01:00
LibELF LibELF: Skip DynamicObject::dump() if logging isn't enabled 2022-03-31 10:18:07 +02:00
LibFileSystemAccessClient Userland: Rename WindowServerConnection=>ConnectionToWindowServer 2022-02-25 22:35:12 +01:00
LibGemini Libraries: Use default constructors/destructors in LibGemini 2022-03-13 22:34:38 +01:00
LibGfx LibGfx: Rasterize TTF glyphs using "hhea" metrics instead of "os2" 2022-03-30 00:57:15 +02:00
LibGL LibGL+LibSoftGPU+LibGfx: Reimplement normal transformation 2022-03-27 09:19:43 -07:00
LibGUI LibGUI: Add search API to TextEditor with highlighted results 2022-03-29 17:45:36 +02:00
LibHTTP LibHTTP: Append port to Host header if it exists 2022-03-30 00:34:29 +03:00
LibImageDecoderClient Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer 2022-02-25 22:35:12 +01:00
LibIMAP
LibIPC LibIPC: Add IPCErrorOr Type alias 2022-03-28 23:08:08 +02:00
LibJS LibJS: Normalize mathematical references to negative zero 2022-03-30 14:24:32 +01:00
LibKeyboard
LibLine LibLine: Avoid pointless size_t <-> ssize_t cast 2022-03-27 21:05:44 +02:00
LibM Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
LibMain LibMain: Statically link LibMain 2022-03-24 03:04:57 +01:00
LibMarkdown Libraries: Use default constructors/destructors in LibMarkdown 2022-03-13 22:34:38 +01:00
LibPCIDB
LibPDF LibPDF: Attempt to unecrypt strings and streams 2022-03-29 02:52:57 +02:00
LibProtocol LibProtocol: Don't block indefinitely in stream_into's on_ready_to_read 2022-03-19 22:04:35 +01:00
LibPthread Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
LibRegex
LibSanitizer
LibSoftGPU LibGL+LibSoftGPU+LibGfx: Reimplement normal transformation 2022-03-27 09:19:43 -07:00
LibSQL Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
LibSymbolication
LibSyntax LibGUI: Support multiple layers of TextDocument spans 2022-03-29 17:45:36 +02:00
LibSystem
LibTest Everywhere: Move js/web/wasm tests under /home/anon/Tests 2022-03-20 22:20:59 +01:00
LibTextCodec LibTextCodec: Pass code points instead of bytes on UTF-8 string process 2022-03-29 01:01:32 +02:00
LibThreading Libraries: Use default constructors/destructors in LibThreading 2022-03-13 22:34:38 +01:00
LibTimeZone
LibTLS LibHTTP+LibTLS: Better HTTPS Socket EOF detection 2022-03-20 01:01:40 +01:00
LibUnicode
LibUSBDB
LibVideo
LibVT LibVT: Fix tooltip condition, properly reset when tooltip not available 2022-03-25 02:33:23 +01:00
LibWasm LibWasm: Increase the arbitrary local value count per type limit 2022-03-20 10:44:32 +03:30
LibWeb LibWeb: Add the HTMLOrSVGElement IDL interface mixin 2022-03-31 01:10:47 +02:00
LibWebSocket Libraries: Use default constructors/destructors in LibWebSocket 2022-03-13 22:34:38 +01:00
LibX86 Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
LibXML LibXML: Add a fairly basic XML parser 2022-03-28 23:11:48 +02:00
CMakeLists.txt LibXML: Add a fairly basic XML parser 2022-03-28 23:11:48 +02:00