Skip to content

Conversation

@frisitano
Copy link
Collaborator

@frisitano frisitano commented Nov 18, 2025

Overview

This PR modifies the implementation of ScrollHeaderTransform.map(..). It spawns the CPU-heavy workload of extracting/verifying the signature and hashing the block into a tokio blocking task. To achieve higher throughput, we leverage rayon to parallelize this process. We then introduce an insert_signatures method on the database to do batch inserts.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 19, 2025

CodSpeed Performance Report

Merging #427 will not alter performance

Comparing fix/async-header-transform (a67c680) with main (3d0b03f)

Summary

✅ 2 untouched

@frisitano frisitano merged commit 328b9e9 into main Nov 19, 2025
17 of 18 checks passed
@frisitano frisitano deleted the fix/async-header-transform branch November 19, 2025 07:59
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.

3 participants