Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jun 23, 2025

Improve raw transfer benchmarks. Use require to load internal modules instead of import. oxc-parser uses require internally, so using import here was resulting in a lot of code being loaded and instantiated twice. That might slightly tilt benchmark results.

@github-actions github-actions bot added the C-test Category - Testing. Code is missing test cases, or a PR is adding them label Jun 23, 2025
Copy link
Member Author


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 June 23, 2025 11:59
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jun 23, 2025
Copy link
Member Author

overlookmotel commented Jun 23, 2025

Merge activity

…#11865)

Improve raw transfer benchmarks. Use `require` to load internal modules instead of `import`. `oxc-parser` uses `require` internally, so using `import` here was resulting in a lot of code being loaded and instantiated twice.
@graphite-app graphite-app bot force-pushed the 06-23-test_napi_parser_load_internal_modules_with_require_in_benchmarks branch from b341f39 to 97b671f Compare June 23, 2025 11:59
@graphite-app graphite-app bot merged commit 97b671f into main Jun 23, 2025
16 checks passed
@graphite-app graphite-app bot deleted the 06-23-test_napi_parser_load_internal_modules_with_require_in_benchmarks branch June 23, 2025 12:06
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants