Skip to content

Instantly share code, notes, and snippets.

@mmomtchev
Last active June 20, 2024 11:24
Show Gist options
  • Save mmomtchev/4ce0724dd51c262f52410b9f2eb578a1 to your computer and use it in GitHub Desktop.
Save mmomtchev/4ce0724dd51c262f52410b9f2eb578a1 to your computer and use it in GitHub Desktop.
fibonacci-gcc-results with unwinding
test function size execution time
cc-O0-no_unwind 242 bytes 181.44
cc-O0-unwind_dontcare 274 bytes 216.39
cc-O0-unwind_noexcept 230 bytes 215.46
cc-O0-unwind_throwing 353 bytes 215.35
cc-O0-unwind_catching 385 bytes 215.07
cc-O2-no_unwind 108 bytes 25.74
cc-O2-unwind_dontcare 132 bytes 26.05
cc-O2-unwind_noexcept 108 bytes 25.78
cc-O2-unwind_throwing 201 bytes 25.84
cc-O2-unwind_catching 223 bytes 25.77
cc-O3-no_unwind 1082 bytes 12.94
cc-O3-unwind_dontcare 865 bytes 13.41
cc-O3-unwind_noexcept 1082 bytes 13.24
cc-O3-unwind_throwing 710 bytes 14.64
cc-O3-unwind_catching 686 bytes 14.01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment