The result of this ticket would be a report of how much time is spent in the different parts of db-sync. These include:
- applying ledger rules
- ledger snapshots
- extracting data from ledger types to Generic types.
- preparing queries and Persistent values.
- db queries and insertions. Ideally the report would be detailed, ie how much time each query takes.
- db transaction commits
The result of this ticket would be a report of how much time is spent in the different parts of db-sync. These include: