[PATCH] rtld: skip symbol table index queries if possible
Fabian Rast
fabian.rast@tum.de
Thu Feb 12 22:25:09 GMT 2026
PS:
By moving the check to after the (cheap) bloom filter test, the performance
regressions can be somewhat mitigated: (although mpv still regresses)
gsx master -> patch:
cycles: 49511928.0 (0.5) -> 48309150.0 (0.61) -2.43%
instructions: 96714427.0 (0.02) -> 94925174.0 (0.02) -1.85%
ref-cycles: 49827642.0 (0.49) -> 48485890.0 (0.6) -2.69%
duration_time: 26654269.0 (0.53) -> 26374543.0 (0.6) -1.05%
clang master -> patch:
cycles: 18645892.0 (0.79) -> 16779085.0 (0.96) -10.01%
instructions: 33353491.0 (0.03) -> 30669379.0 (0.04) -8.05%
ref-cycles: 18791519.0 (0.78) -> 16856078.0 (0.93) -10.3%
duration_time: 10919684.0 (0.79) -> 9761956.0 (0.84) -10.6%
libxul.so master -> patch:
cycles: 56422341.0 (0.39) -> 55357468.0 (0.17) -1.89%
instructions: 106624464.0 (0.02) -> 105136223.0 (0.02) -1.4%
ref-cycles: 56607275.0 (0.4) -> 55664920.0 (0.16) -1.66%
duration_time: 30546299.0 (0.41) -> 29750872.0 (0.22) -2.6%
mpv master -> patch:
cycles: 314099011.0 (0.21) -> 318358470.0 (0.81) 1.36%
instructions: 677780066.0 (0.0) -> 673323695.0 (0.0) -0.66%
ref-cycles: 314961136.0 (0.21) -> 319159082.0 (0.81) 1.33%
duration_time: 162160054.0 (0.22) -> 164245741.0 (0.81) 1.29%
soffice.bin master -> patch:
cycles: 107442359.0 (0.35) -> 105643296.0 (0.38) -1.67%
instructions: 210582572.0 (0.01) -> 207872207.0 (0.01) -1.29%
ref-cycles: 107718073.0 (0.34) -> 105922170.0 (0.37) -1.67%
duration_time: 56930644.0 (0.36) -> 56028308.0 (0.4) -1.58%
libwebkit2gtk-4.1.so.0 master -> patch:
cycles: 101683238.0 (0.5) -> 101060189.0 (0.35) -0.61%
instructions: 203963211.0 (0.01) -> 201421932.0 (0.01) -1.25%
ref-cycles: 101917770.0 (0.5) -> 101343442.0 (0.35) -0.56%
duration_time: 54116019.0 (0.5) -> 53812176.0 (0.38) -0.56%
ffmpeg master -> patch:
cycles: 258467344.0 (0.16) -> 255652866.0 (0.18) -1.09%
instructions: 555742911.0 (0.0) -> 551118490.0 (0.01) -0.83%
ref-cycles: 259027863.0 (0.15) -> 256183545.0 (0.19) -1.1%
duration_time: 133863408.0 (0.17) -> 132381031.0 (0.2) -1.11%
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260212/f5b9628c/attachment.sig>
More information about the Libc-alpha
mailing list