Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 1.17 KB

File metadata and controls

24 lines (23 loc) · 1.17 KB

Todo - One-Pass Deserialization Optimization

  • Task 1: Optimize ContentMatchType (One-Pass)
    • Step 1: Update ContentMatchType::visit_map to avoid serde_json::Value buffering
    • Step 2: Run tests to ensure no regressions
    • Step 3: Commit
  • Task 2: Optimize Element (Manual Tag-First Dispatch)
    • Step 1: Remove #[serde(untagged)] from Element and implement Deserialize manually
    • Step 2: Implement Element::deserialize_from_map helper
    • Step 3: Run tests
    • Step 4: Commit
  • Task 3: Optimize MetaDataMatchType (Remove double-parsing)
    • Step 1: Replace UntaggedEnumVisitor in MetaDataMatchType::deserialize
    • Step 2: Run tests
    • Step 3: Commit
  • Task 4: I/O & Parallelism Tuning
    • Step 1: Increase BufReader capacity
    • Step 2: Update run.nu to enable full feature
    • Step 3: Run benchmark with features enabled
    • Step 4: Commit
  • Task 5: Final Benchmark & Verification
    • Step 1: Generate a new flamegraph
    • Step 2: Compare results with original 12s benchmark
    • Step 3: Final check of all tests