Skip to content

Add inlining code-size measurements for the 13 benchmarks - #87

Merged
byeongjee merged 1 commit into
mainfrom
byeongjee/jiaolong
Aug 24, 2026
Merged

Add inlining code-size measurements for the 13 benchmarks#87
byeongjee merged 1 commit into
mainfrom
byeongjee/jiaolong

Conversation

@byeongjee

Copy link
Copy Markdown
Owner

Adds results/inlining.csv: per-benchmark .text size at O3 with the shipped FORCE_INLINE = always_inline sources versus FORCE_INLINE = static inline (letting O3's inliner decide), for the 13 benchmarks in results/. Measured with ckpt compile uninstrumented --no-device-debug and msp430-elf-size; the last column lists the functions O3 leaves out of line.

Summary: O3 already inlines every function on 8/13 (3 byte-identical, the rest within −0.9% to +13.3% from pass ordering); on the other 5 forced inlining grows code by 4.1–126.4%, at most 4.2 kB (sha256), 1.6% of the 256 kB FRAM.

@byeongjee
byeongjee merged commit f126c23 into main Aug 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant