Revert "Merge branch 'benchmark-crypto-o2' into integration"

This reverts commit c58447ad3a, reversing
changes made to 3b02c6d5ef.
This commit is contained in:
J. Nick Koston
2026-04-12 19:26:54 -10:00
parent c58447ad3a
commit e1ea9cb66b
3 changed files with 4 additions and 28 deletions
+4 -3
View File
@@ -26,11 +26,12 @@ CORE_BENCHMARKS_DIR: Path = Path(root_path) / "tests" / "benchmarks" / "core"
STUBS_DIR: Path = Path(root_path) / "tests" / "benchmarks" / "stubs"
PLATFORMIO_OPTIONS = {
"build_unflags": [
"-Os", # remove default size-opt
],
"build_flags": [
"-Os", # match firmware optimization level (detects inlining regressions)
"-O2", # optimize for speed (CodSpeed recommends RelWithDebInfo)
"-g", # debug symbols for profiling
"-ffunction-sections", # required for dead-code stripping with -Os
"-fdata-sections", # required for dead-code stripping with -Os
"-DUSE_BENCHMARK", # disable WarnIfComponentBlockingGuard in finish()
f"-I{STUBS_DIR}", # stub headers for ESP32-only components
],