Skip to content

Conversation

@frisitano
Copy link
Collaborator

@frisitano frisitano commented Nov 25, 2025

Overview

This PR consolidates database migrations and optimises the indexing strategy to improve performance. We also introduce a pre-fetch cache for DataBlockHint, which is used in the derivation pipeline. Combined, these result in a reduction of L1 consolidation from 17.5 hours to 4.25 hours. This is a significant improvement, but there are still a number of low-hanging optimisations to be made. We should target around 1 hour consolidation in the future.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 25, 2025

CodSpeed Performance Report

Merging #440 will not alter performance

Comparing feat/database-optimisation (e4d19c9) with main (868d085)

Summary

✅ 2 untouched

@frisitano frisitano requested review from Thegaram, jonastheis and yiweichi and removed request for jonastheis November 27, 2025 06:00
@frisitano frisitano merged commit 987000d into main Nov 27, 2025
15 checks passed
@frisitano frisitano deleted the feat/database-optimisation branch November 27, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants