Commit Graph

100 Commits

Author SHA1 Message Date
floor-licker 40b503ef29 bench(ws): add WS hot-path Criterion benchmark 2026-01-30 22:41:51 -05:00
floor-licker 65bab0d3c1 docs: update README.md 2026-01-30 21:30:10 -05:00
floor-licker d4e240714c test(ws): add user channel and stability checks 2026-01-30 21:21:14 -05:00
floor-licker 1e1ef74730 test(ws): add ignored real-market websocket smoke test 2026-01-30 21:14:42 -05:00
floor-licker 2dc3c06155 test: make real-api smoke tests robust 2026-01-30 21:10:15 -05:00
floor-licker 0f577f0b2c fix(api): improve order endpoint compatibility 2026-01-30 21:10:03 -05:00
floor-licker 2570aa08a1 docs: clarify integration test env vars 2026-01-30 20:55:20 -05:00
floor-licker 31062b3ed7 docs: align testing guide with CI 2026-01-30 20:54:21 -05:00
floor-licker d45b202d6d feat(ws): add book-applier stream 2026-01-30 20:40:07 -05:00
floor-licker e0b97c53cb feat(ws): add tape-based book update processor 2026-01-30 20:22:45 -05:00
floor-licker b523a7fd44 docs: update README.md 2026-01-30 19:53:17 -05:00
floor-licker 9fa4174e42 docs: update README.md 2026-01-30 19:48:30 -05:00
floor-licker 3b0765fbec ci: run no-alloc hot-path tests as separate job 2026-01-30 19:37:46 -05:00
floor-licker c1b763309b chore(security): update lockfile for RustSec advisories 2026-01-30 19:20:32 -05:00
floor-licker 7145f74805 docs: update README.md 2026-01-30 19:01:46 -05:00
floor-licker 0e71182ec5 feat(book): apply ws book updates via OrderBookManager 2026-01-30 18:50:52 -05:00
floor-licker a0bf317d97 refactor(ws): replace unbounded channel with bounded queue 2026-01-30 18:50:45 -05:00
floor-licker 75ce261445 perf(ws): avoid cloning batch stream messages 2026-01-30 18:50:28 -05:00
floor-licker 9594058fd5 feat(book): apply websocket book updates 2026-01-30 18:17:45 -05:00
floor-licker dea50163fe test(no-alloc): guard hot paths against heap allocs 2026-01-30 18:01:44 -05:00
floor-licker cc419acaf3 chore(rustfmt): keep config stable-compatible 2026-01-29 19:07:11 -05:00
floor-licker 41db8cabcd chore(fmt): cargo fmt 2026-01-29 18:47:30 -05:00
floor-licker da51caa251 chore(cargo): use crates.io polymarket-rs-client 2026-01-29 18:47:19 -05:00
floor-licker a7ca8e4341 feat(ws): align auth and event_type parsing 2026-01-29 18:35:02 -05:00
floor-licker 703bd9f509 feat(book): align /book response fields 2026-01-29 18:33:27 -05:00
floor-licker e28e1afa0b fix(auth): only fallback derive on API errors
Match upstream behavior: only retry derive-api-key when create-api-key fails with an HTTP status error.
2026-01-29 18:28:42 -05:00
floor-licker 64205eeeaa chore(cargo): fix manifest and dev dep
- Remove duplicate package key in Cargo.toml
- Add local polymarket-rs-client dev-dependency for examples
2026-01-29 18:26:54 -05:00
floor-licker 95b96fb558 chore: update Cargo.toml 2026-01-22 18:14:03 -05:00
floor-licker 1f9c3221e6 docs: update README.md 2026-01-22 17:09:27 -05:00
floor-licker 553698dda2 docs/chores/refactor 2026-01-04 11:24:35 -05:00
floor-licker c8c2048f33 fix: update WebSocket implementation v0.2.3 2026-01-03 23:45:26 -05:00
floor-licker 6da792b2ae fix: fix to wss subscription sigs 2026-01-03 23:36:11 -05:00
floor-licker 9dffa85410 docs: versioning v0.2.2 2026-01-01 15:14:17 -05:00
floor-licker 8a90c2e57f fix: struct decimal field annotations 2026-01-01 15:04:32 -05:00
floor-licker 5767833c56 tests: Improve e2e auth test coverage 2025-12-18 13:52:33 -05:00
floor-licker 7688a40e82 fix: CI Clippy warnings v0.2.1 2025-12-17 19:34:22 -05:00
floor-licker c8fa5e817b chore: update README.md 2025-12-17 19:17:19 -05:00
floor-licker e55dcb765a Update README.md 2025-12-17 19:15:10 -05:00
floor-licker 4c2bdae51f chore: minor v bump 2025-12-17 19:10:08 -05:00
floor-licker a9ed393f98 chore: minor v bump 2025-12-17 19:09:46 -05:00
floor-licker 38ef0ec123 fix: adjust signature encoding format
Resolves authentication flow edge case.
2025-12-16 22:20:34 -05:00
floor-licker 7b32765d0d docs: update README.md 2025-12-07 06:30:17 -05:00
floor-licker 22a22dee1c 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
2025-12-07 06:25:46 -05:00
floor-licker b992b7ad84 Update cargo.toml 2025-12-06 18:18:18 -05:00
floor-licker dc6092c244 feat: integrate infrastructure modules and achieve 8.9% performance improvement
Integrated DNS caching, connection manager, and buffer pool modules into ClobClient structure to enable production use. Added start_keepalive() and stop_keepalive() methods for maintaining warm connections through background keep-alive pings. Implemented DNS cache pre-warming on client initialization and buffer pool with 512KB buffers for reducing allocation overhead. Cleaned up temporary test and analysis files from optimization exploration. Benchmark results with keep-alive enabled show 368.6ms mean latency compared to polymarket-rs-client's 404.5ms, representing 8.9% improvement and 35.9ms faster performance while maintaining production-safe approaches
2025-12-06 17:47:35 -05:00
floor-licker af9e1a1939 perf: achieve 5.4% performance improvement over polymarket-rs-client through systematic optimization
Reduced mean latency from 401ms to 382.6ms (21.9ms improvement) through conservative, production-ready optimizations. Implemented SIMD-accelerated JSON parsing using simd-json for 1.77x speedup, empirically tuned HTTP/2 configuration with optimal 512KB stream window determined through systematic benchmarking, DNS caching to eliminate redundant lookups, connection keep-alive management to maintain warm connections, and buffer pooling to reduce memory allocation overhead. All optimizations maintain production-safe approaches while delivering measurable performance gains in real-world API benchmarks.
2025-12-06 17:19:02 -05:00
floor-licker 710e4c7387 fix: update dependencies to resolve security vulnerabilities in alloy-dyn-abi (RUSTSEC-2025-0073) and slab (RUSTSEC-2025-0047) 2025-12-06 06:14:28 -05:00
floor-licker d5929a1a14 fix: use is_multiple_of method instead of manual modulo check to satisfy newer clippy lint requirements 2025-12-06 06:07:08 -05:00
floor-licker c69ea614a8 refactor: drastically simplify CI to focus on essential checks only, removing frivolous jobs and complex configurations that cause maintenance overhead 2025-12-06 06:04:39 -05:00
floor-licker 7371b81ec6 fix: pin base64ct to version 1.6.0 to avoid Edition 2024 requirement and resolve CI dependency parsing errors 2025-12-05 19:33:17 -05:00