Commit 78f8f2f
committed
Add protocol performance benchmark tool
- Add cmd/protocolperf for comparing Direct Engine, TCP, and HTTP/AuthZen performance
- Add Config.Engine field to server package for engine injection (enables benchmarking)
- Add protocolperf and protocolperf-quick Makefile targets
- Add docs/PROTOCOL_PERFORMANCE.md with usage and interpretation guide
The benchmark uses library calls exclusively to eliminate external binary overhead,
providing accurate measurements of protocol overhead vs direct engine access.1 parent 4c8721d commit 78f8f2f
File tree
4 files changed
+768
-13
lines changed- cmd/protocolperf
- docs
- pkg/server
4 files changed
+768
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
0 commit comments