Performance boosts to ingest
merging preformance changes into new branch
Merged performance branch