Skip to content

perf(parser): pass span starts (u32) around instead of Span (2x u32)#10433

Merged
graphite-app[bot] merged 1 commit intomainfrom
04-16-perf_parser_pass_span_starts_u32_around_instead_of_span_2x_u32_
Apr 16, 2025
Merged

perf(parser): pass span starts (u32) around instead of Span (2x u32)#10433
graphite-app[bot] merged 1 commit intomainfrom
04-16-perf_parser_pass_span_starts_u32_around_instead_of_span_2x_u32_

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Apr 16, 2025

It it useless to pass around the end span, because it's always empty.

Pass Spans around when it definitely contains an end span.

This should reduce a bit of stack usage.

@github-actions github-actions bot added A-parser Area - Parser C-performance Category - Solution not expected to change functional behavior, only performance labels Apr 16, 2025
@Boshen Boshen marked this pull request as draft April 16, 2025 04:46
Copy link
Member Author

Boshen commented Apr 16, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codspeed-hq
Copy link

codspeed-hq bot commented Apr 16, 2025

CodSpeed Instrumentation Performance Report

Merging #10433 will not alter performance

Comparing 04-16-perf_parser_pass_span_starts_u32_around_instead_of_span_2x_u32_ (0a42695) with main (c538efa)

Summary

✅ 36 untouched benchmarks

@Boshen Boshen marked this pull request as ready for review April 16, 2025 05:14
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Apr 16, 2025
Copy link
Member Author

Boshen commented Apr 16, 2025

Merge activity

…10433)

It it useless to pass around the end span, because it's always empty.

Pass `Span`s around when it definitely contains an end span.

This should reduce a bit of stack usage.
@graphite-app graphite-app bot force-pushed the 04-16-perf_parser_pass_span_starts_u32_around_instead_of_span_2x_u32_ branch from ad510c3 to 0a42695 Compare April 16, 2025 05:15
@graphite-app graphite-app bot merged commit 0a42695 into main Apr 16, 2025
29 checks passed
@graphite-app graphite-app bot deleted the 04-16-perf_parser_pass_span_starts_u32_around_instead_of_span_2x_u32_ branch April 16, 2025 05:21
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-parser Area - Parser C-performance Category - Solution not expected to change functional behavior, only performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant