Skip to content

ci(benchmarks): estree benchmark use black_box on result of to_estree_ts_json#10819

Merged
graphite-app[bot] merged 1 commit intomainfrom
05-05-ci_benchmarks_estree_benchmark_use_black_box_on_result_of_to_estree_ts_json_
May 6, 2025
Merged

ci(benchmarks): estree benchmark use black_box on result of to_estree_ts_json#10819
graphite-app[bot] merged 1 commit intomainfrom
05-05-ci_benchmarks_estree_benchmark_use_black_box_on_result_of_to_estree_ts_json_

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented May 5, 2025

In benchmark for ESTree conversion, pass result of program.to_estree_ts_json() to black_box. Without it, if compiler was sufficiently clever, it could remove the entire call to to_estree_ts_json because the result is never used.

Copy link
Member Author

overlookmotel commented May 5, 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 overlookmotel marked this pull request as ready for review May 5, 2025 16:30
@codspeed-hq
Copy link

codspeed-hq bot commented May 5, 2025

CodSpeed Instrumentation Performance Report

Merging #10819 will not alter performance

Comparing 05-05-ci_benchmarks_estree_benchmark_use_black_box_on_result_of_to_estree_ts_json_ (33969ac) with main (24fcb1e)

Summary

✅ 36 untouched benchmarks

@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label May 6, 2025
@graphite-app
Copy link
Contributor

graphite-app bot commented May 6, 2025

Merge activity

…ree_ts_json` (#10819)

In benchmark for ESTree conversion, pass result of `program.to_estree_ts_json()` to `black_box`. Without it, if compiler was sufficiently clever, it could remove the entire call to `to_estree_ts_json` because the result is never used.
@graphite-app graphite-app bot force-pushed the 05-05-fix_napi_parser_expose_visitor_keys_files_in_npm_package branch from 850bbfb to 87fc903 Compare May 6, 2025 02:34
@graphite-app graphite-app bot force-pushed the 05-05-ci_benchmarks_estree_benchmark_use_black_box_on_result_of_to_estree_ts_json_ branch from 2362045 to 33969ac Compare May 6, 2025 02:35
Base automatically changed from 05-05-fix_napi_parser_expose_visitor_keys_files_in_npm_package to main May 6, 2025 02:40
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label May 6, 2025
@graphite-app graphite-app bot merged commit 33969ac into main May 6, 2025
26 checks passed
@graphite-app graphite-app bot deleted the 05-05-ci_benchmarks_estree_benchmark_use_black_box_on_result_of_to_estree_ts_json_ branch May 6, 2025 02:41
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.

1 participant