Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(benchmarks): exclude parser from isolated declarations benchmark timing #9388

Conversation

overlookmotel
Copy link
Contributor

@overlookmotel overlookmotel commented Feb 26, 2025

Similar to other benchmarks, in benchmark for isolated declarations, only time the component under test - the actual generation of isolated declarations file. Previously, the benchmark also included parsing.

This removes a source of variance from the benchmark and "zooms in" on performance of the thing itself. It'll be easier to see improvements/degradations in performance.

Copy link
Contributor Author

overlookmotel commented Feb 26, 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.

@overlookmotel
Copy link
Contributor Author

In case anyone wonders, the reason I was looking at isolated declarations was the surprising benchmark result on #9301.

Copy link

codspeed-hq bot commented Feb 26, 2025

CodSpeed Performance Report

Merging #9388 will improve performances by ×13

Comparing 02-23-ci_benchmarks_exclude_parser_from_isolated_declarations_benchmark_timing (551654e) with main (41b3d2b)

Summary

⚡ 1 improvements
✅ 32 untouched benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
isolated-declarations[vue-id.ts] 729.3 ms 57.3 ms ×13

Copy link

graphite-app bot commented Feb 26, 2025

Merge activity

…iming (#9388)

Similar to other benchmarks, in benchmark for isolated declarations, only time the component under test - the actual generation of isolated declarations file. Previously, the benchmark also included parsing.

This removes a source of variance from the benchmark and "zooms in" on performance of the thing itself. It'll be easier to see improvements/degradations in performance.
@graphite-app graphite-app bot force-pushed the 02-23-ci_benchmarks_exclude_parser_from_isolated_declarations_benchmark_timing branch from a925498 to 551654e Compare February 26, 2025 13:14
@graphite-app graphite-app bot merged commit 551654e into main Feb 26, 2025
25 checks passed
@graphite-app graphite-app bot deleted the 02-23-ci_benchmarks_exclude_parser_from_isolated_declarations_benchmark_timing branch February 26, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant