[benchmark] Add noise encryption benchmarks (#15037)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-03-20 17:35:17 -10:00
1 parent 95dea59382
commit 1920d8a887
7 files changed
+209 -1

No files matched your search

+7 -1
View File
@@ -205,7 +205,13 @@ def setup_codspeed_lib(output_dir: Path) -> None:
if hooks_dist_c.exists():
_copy_if_missing(hooks_dist_c, lib_src / "instrument_hooks.c")
# 4. Write library.json
# 4. Copy instrument-hooks headers (core.h, callgrind.h, valgrind.h) next to
# measurement.hpp so they are found before any same-named headers from
# other libraries (e.g. libsodium's core.h).
for header in hooks_include.glob("*.h"):
_copy_if_missing(header, core_include / header.name)
# 5. Write library.json
version = _read_codspeed_version(output_dir / CORE_CMAKE)
_write_library_json(
benchmark_dir, core_include, hooks_include, version, project_root