GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(perf): improve by alexander-akait · Pull Request #224 · webpack/tapable

Conversation

@alexander-akait

@alexander-akait alexander-akait commented Apr 20, 2026

Copy link
Copy Markdown
Member

Summary

improve perf

What kind of change does this PR introduce?

fix

Did you add tests for your changes?

Existing

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Nothing

Use of AI

Yes, to search place which we can improve perfomance

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@alexander-akait
fix(perf): improve
c882a64
@changeset-bot

changeset-bot Bot commented Apr 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a59b5e2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Apr 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.96%. Comparing base (2a304ae) to head (a59b5e2).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/Hook.js 92.50% 3 Missing ⚠️
lib/HookCodeFactory.js 97.61% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
+ Coverage   97.96%   98.96%   +1.00%     
==========================================
  Files          13       15       +2     
  Lines         689      776      +87     
  Branches      112      130      +18     
==========================================
+ Hits          675      768      +93     
+ Misses         13        8       -5     
+ Partials        1        0       -1     
Flag Coverage Δ
integration 98.96% <96.00%> (+1.00%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codspeed

codspeed Bot commented Apr 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Merging this PR will improve performance by ×5

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 8 improved benchmarks
✅ 84 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ hook-compile: SyncWaterfallHook, 5 taps + first call 760.6 µs 157.1 µs ×4.8
⚡ multi-hook: intercept across 3 hooks 61.3 µs 49.7 µs +23.39%
⚡ multi-hook: isUsed (3 hooks, 5 taps) 184.1 µs 36.6 µs ×5
⚡ interceptors-sync: register interceptor + 10 tap registrations 80.1 µs 41.1 µs +94.95%
⚡ tap-registration: AsyncSeriesHook tapAsync x 10 54.5 µs 45.3 µs +20.15%
⚡ tap-registration: SyncHook tap x 10, object options 44.9 µs 37.8 µs +18.55%
⚡ tap-registration: AsyncSeriesHook tapPromise x 10 49.5 µs 40.4 µs +22.44%
⚡ tap-registration: SyncHook tap x 10, string options 45 µs 34 µs +32.3%

Comparing fix-perf-improve (a59b5e2) with main (4e24645)

Open in CodSpeed
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alexander-akait added 2 commits April 20, 2026 18:06
@alexander-akait
refactor: fix
b6cf176
@alexander-akait
refactor: small
a59b5e2
@alexander-akait
alexander-akait merged commit 9e9ae4d into main Apr 20, 2026
31 of 33 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait deleted the fix-perf-improve branch April 20, 2026 15:27
@alexander-akait alexander-akait mentioned this pull request Apr 21, 2026
fix: preserve custom tap options dropped by _tap fast path #227
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@alexander-akait
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.