Description:
The data ingestion parser consumes excessive RAM when analyzing token contracts with deep, high-frequency transaction histories.
Acceptance Criteria:
- Profile the Rust application using
cargo-flamegraph to identify specific memory bottlenecks in the JSON deserialization loop.
- Implement zero-copy deserialization using
serde where applicable to map RPC responses directly to memory references.
- Reduce memory consumption by at least 30% when processing contracts with over 100,000 historical transactions.
Description:
The data ingestion parser consumes excessive RAM when analyzing token contracts with deep, high-frequency transaction histories.
Acceptance Criteria:
cargo-flamegraphto identify specific memory bottlenecks in the JSON deserialization loop.serdewhere applicable to map RPC responses directly to memory references.