mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-22 01:33:23 -10:00
menu-harness failed its hot-function budget on Ubuntu 26.04: audio_driver_sample_batch came out at 623 bytes against a 512 ceiling, with runloop_iterate and video_thread_frame a few bytes short of theirs. Built from the same tree, GCC 13 emits 511, 6911 and 4319 bytes for the three and GCC 15 623, 8026 and 4825, so the step is the compiler and not the source. The reference now holds what GCC 15 measures on the runner, frames included; the quarter of slack above it is for the next real change.
10 lines
555 B
Plaintext
10 lines
555 B
Plaintext
# function size stack-frame (release build, x86-64 GCC 15, Ubuntu 26.04)
|
|
# Driver Pacing release/marker dispatch adds code; the stack guard stays put.
|
|
# sample_batch settles pending pause and reset requests on the submitting thread.
|
|
# Measured again under GCC 15 when ubuntu-latest moved to 26.04: from the same
|
|
# source it emits 12-22% more code than GCC 13 did for three of these.
|
|
runloop_iterate 8026 120
|
|
video_driver_frame 8191 3992
|
|
video_thread_frame 4825 200
|
|
audio_driver_sample_batch 623 24
|