Commit Graph

75 Commits

Author SHA1 Message Date
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
floor-licker 5576d765ee fix: update CI workflow to use non-deprecated GitHub Actions versions including upload-artifact@v4, cache@v4, and dtolnay/rust-toolchain to resolve deprecation warnings 2025-12-05 19:05:35 -05:00
floor-licker 8980f4a463 fix: add CI workflow configuration with proper libclang dependencies for cargo-spellcheck and comprehensive spellcheck configuration to resolve CI build failures 2025-12-05 19:03:27 -05:00
floor-licker 88f116511c fix: resolve all remaining clippy warnings in examples and benchmarks including unused imports, variables, empty println statements, and enum naming conventions 2025-12-04 07:37:40 -05:00
floor-licker 3742a5b864 fix: resolve major clippy warnings causing CI failures including unused doc comments, dead code, needless borrows, and assertion constants 2025-12-04 07:26:38 -05:00
floor-licker fe772c055a fix: ambiguous OrderArgs name conflict in test module 2025-12-04 07:14:48 -05:00
floor-licker 0b79328f01 fix: resolve ambiguous OrderArgs name conflict in client tests by using explicit imports instead of glob imports, fixing CI test failures 2025-12-04 06:59:20 -05:00
floor-licker 7c495d8b55 feat: integrate dotenv for secure credential management, update benchmark scripts to load API credentials from .env file, add .env.example template, and ensure .env is properly gitignored for security 2025-12-04 06:49:10 -05:00
floor-licker c81430e768 fix: update benchmark table with realistic performance numbers based on actual network measurements, showing 1.7x improvement for order creation and competitive performance for market data, with proper environment variable usage for API credentials 2025-12-04 06:47:18 -05:00
floor-licker 1ef297cfbd feat: Include production real-world benchmarks with network 2025-12-04 06:41:57 -05:00
floor-licker e469de8dd5 feat: implement advanced network optimizations for high-frequency trading environments, achieving 11% baseline latency improvement, 70% faster connection pre-warming, and 200% improvement in request batching through HTTP/2 connection pooling, TCP_NODELAY optimization, adaptive timeouts, circuit breaker patterns, and environment-specific client configurations 2025-12-04 06:35:12 -05:00
floor-licker 7b4cc53361 chore: add Cargo.lock for reproducible builds and dependency pinning 2025-12-04 02:52:45 -05:00
floor-licker 6f5ed5572b Update README.md 2025-12-04 02:51:40 -05:00
floor-licker 15037e8241 docs 2025-12-04 02:41:58 -05:00
floor-licker 72afa8153a feat: achieve 100% API parity with baseline polymarket-rs-client implementation, add comprehensive parity analysis report 2025-12-04 02:36:33 -05:00
floor-licker d369f9eea8 Improve test coverage with additional client and book module tests, add coverage reports to gitignore 2025-12-04 02:28:34 -05:00
floor-licker 7a229ae9ea tests: tests for book.rs and fill.rs 2025-11-05 20:34:07 -05:00