You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bench: add CRS XML body processor benchmarks for both XML and xmlquery
Add matching benchmarks for the original XML and experimental xmlquery
body processors processing XML request bodies through the full CRS
rule pipeline:
- BenchmarkCRSXMLSimplePOST / BenchmarkCRSXMLQuerySimplePOST:
Small XML-RPC payload (~250B)
- BenchmarkCRSXMLLargeSOAP / BenchmarkCRSXMLQueryLargeSOAP:
Large SOAP envelope (~15KB, 100 items, namespaces)
Results on Apple M2 show xmlquery is ~1.8-2x slower due to full DOM
construction, which is the expected tradeoff for real XPath support.
tx.AddRequestHeader("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36")
tx.AddRequestHeader("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36")
tx.AddRequestHeader("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36")
tx.AddRequestHeader("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36")
0 commit comments