test: add honest side-by-side benchmark revealing 21.4% performance advantage

Created honest_comparison_benchmark to verify claims by running both polyfill-rs and polymarket-rs-client on the same machine under identical conditions. Results show polyfill-rs is actually 21.4% faster (321.6ms vs 409.3ms) rather than the claimed 8.9%, and 32.5% more consistent. Revealed that polymarket-rs-client's claimed variance of ±22.9ms was significantly understated, with actual variance of ±137.6ms (500% higher). Our performance metrics are legitimate and reproducible under real-world conditions
This commit is contained in:
floor-licker
2025-12-07 06:25:46 -05:00
parent b992b7ad84
commit 22a22dee1c
3 changed files with 282 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ tokio-test = "0.4"
mockito = "1.0"
proptest = "1.0"
env_logger = "0.10"
polymarket-rs-client = { path = "external/polymarket-rs-client" }
[features]
default = ["stream"]