Commit Graph

91 Commits

Author SHA1 Message Date
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
floor-licker 252c279568 fix: simplify CI to use only stable Rust version to avoid Edition 2024 compatibility issues with dependencies 2025-12-05 19:32:44 -05:00
floor-licker ff52cd0cb2 fix: update CI Rust version matrix to 1.82-1.83 to support Edition 2024 dependencies and resolve base64ct manifest parsing errors 2025-12-05 19:30:47 -05:00
floor-licker 95b100cf6b fix: update CI Rust version matrix from 1.75-1.76 to 1.78-1.79 to support Cargo.lock version 4 format and resolve lock file parsing errors 2025-12-05 19:27:23 -05:00
floor-licker 5e4c01a700 Update readme.md 2025-12-05 19:25:18 -05:00
floor-licker 64d1a52af6 update readme.md 2025-12-05 19:20:54 -05:00
floor-licker 3bf76360f9 fix: add rustfmt and clippy components to all Rust toolchain installations in CI to resolve 'cargo-fmt is not installed' error for Rust 1.76 toolchain 2025-12-05 19:14:19 -05:00
floor-licker 86305f384c Update Cargo.toml 2025-12-05 19:11:49 -05:00
floor-licker 0bcc5b2a79 feat: move performance comparison table higher in README, reorder columns to highlight polyfill-rs results first, and remove bold formatting from metrics for cleaner presentation 2025-12-05 19:11:28 -05:00
floor-licker 9993e51c7f fix: resolve rustfmt configuration duplicate key error and apply consistent code formatting across all source files 2025-12-05 19:09:06 -05:00