Publish Linux WAF benchmark and performance report - #9
Draft
upgle wants to merge 15 commits into
Draft
Conversation
upgle
force-pushed
the
codex/linux-waf-pgo-benchmark
branch
from
July 27, 2026 14:28
4354a1c to
a632057
Compare
upgle
changed the base branch from
main
to
perf/libmodsecurity-connector-hot-paths
July 27, 2026 14:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
libmodsecurity filter, and the Coraza Dynamic Module with the same executable and OWASP CRS files
opt+ ThinLTO + instrumentation-PGO workflow withorder-rotated runs, CPU partitioning, runtime-opt-in phase-1 stage timers, and Linux
perfcollection
archived textual perf reports, and deterministic SVG chart generation
Stack
This benchmark and documentation PR is temporarily stacked on
#11, which contains the separately reviewed
libmodsecurity connector optimization bundle. After #11 merges, this PR can be rebased and
retargeted to
mainwithout changing the benchmark payload.The measured source is preserved independently of this rewritten PR branch:
benchmark/waf-linux-2026-07-226c396c920970bc4d09b7a2f1c8b14b4f7775eaba9900d4510fa8fdc1e81956fc3d7e82b41c6f2b0d558d0e5c6e039472828c27c3fac8ded2987d2f026b13b8bd4a5be9e3ca41918eRecorded snapshot
The archived run uses Envoy 1.39.0, libmodsecurity 3.0.16, Coraza 3.7.0 through Built On Envoy
0.6.2, and OWASP CRS 4.28.0.
Across the 12 measured workload and concurrency combinations, the libmodsecurity integration
recorded higher median request throughput. The primary figure reports actual requests per second;
paired throughput, Envoy CPU-per-request, and p99 ratios are retained as supporting detail.
6d9a1a0c1d62ab49b99e883dd3c5f1e36e574d18b18fba9382c8a4afea51eef1The source result mislabeled the final binary as stripped. The archived build manifest records the
actual
--strip=neverflag; this PR corrects future workflow metadata while preserving theoriginal reported value in the normalized evidence.
Method
terminal filter statistics
perfsampling
Validation
perfartifact integrity verifiedgit diff --checkvalidatedInterpretation boundaries
engine ranking
headers_c16observed range crosses parity despite its medianruntimes
optimized release settings