Skip to content

View-tag scanner: round-2 optimizer #125

Description

@truthixify

Extra labels: stellar, perf
Tier: M (2-4 days) | Type: perf

Context. View-tag batching hit 229x speedup. Profile identified two remaining hotspots: per-event allocation churn + a redundant point decompression per candidate. Push another 2-3x on CPU before we lean on GPU.

Scope.

  • Pool + reuse per-event buffers.
  • Cache decompressed points across the batch.
  • Micro-bench per-hotspot fix with deno bench --json.
  • Measurable target: ≥ 2x on 10k events on the existing baseline.

Acceptance.

  • Bench captured pre/post per fix
  • Pool sized to keep memory bounded on 100k batches
  • No public-API changes

Files. src/chains/stellar/scanner/, test/chains/stellar/bench/scan.bench.ts.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips Networkhelp wantedExtra attention is neededperfPerformance / optimizationstellarTouches Stellar / Soroban code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions