Skip to content

perf(expect): reuse the key array in deep equality - #12104

Merged
sheremet-va merged 1 commit into
vitest-dev:mainfrom
camc314:c/expect-deep-equality-keys
Nov 24, 2026
Merged

sheremet-va merged 1 commit into
vitest-dev:mainfrom
camc314:c/expect-deep-equality-keys

Conversation

@camc314

@camc314 camc314 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Deep equality collects string keys and then appends enumerable own symbol keys. Append those symbols directly to the existing key array, preserving the descriptor lookups and key order.

Why this is faster

  • keys.concat(...) creates a new array and copies the collected keys into it. Using .push() appends each enumerable symbol to the existing array, so the string keys stay where they are. V8 concat() implementation
  • filter() creates a separate result array for the symbols that pass the enumerability check, even when the input is empty. An if inside the loop checks each symbol’s descriptor and appends it directly when it’s enumerable. V8 filter() implementation

The benchmark collects keys eight times per assertion, so those savings repeat as the comparison descends into nested arrays. Fewer temporary arrays can also reduce young-generation GC pressure. The benchmark measures the combined effect. V8 young-generation GC

Benchmark

Two normal Vitest builds from ff6b4275f compared the same pair of distinct but equal nested objects. Each sample used a fresh process with one worker, warmed up with 20,000 toEqual calls, and timed the next 100,000. Build order alternated across ten pairs per runtime.

Node Baseline median Patched median Median paired change Pairs faster
26.13.1 346.1 ms 303.8 ms −12.2% 10/10
24.22.3 349.2 ms 306.0 ms −11.7% 9/10

The timings describe steady-state matcher throughput for this object shape.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 15:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T15:23:10.190550Z 544aecf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions

Copy link
Copy Markdown

Hello @camc314. Thank you for taking the time to contribute!

Unfortunately, the team accepts pull requests only from maintainers, from anyone who contributed before, from approved contributors, or for issues with the approved label, so this pull request was closed automatically. We are sorry about that, it is not a judgement of your work. The number of pull requests grew beyond what the team can review, and this policy gives maintainers the space to triage and prioritize issues at their own pace.

If there is no issue for this change yet, please open one to discuss it with the team first. Your changes are not lost: a maintainer can reopen this pull request if the team decides to go forward with it. See our pull request policy for more context.

@github-actions github-actions Bot closed this Nov 24, 2026
@netlify

netlify Bot commented Nov 24, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 544aecf
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6b05ab709c504a90d4c6c38b
😎 Deploy Preview https://deploy-preview-12104--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sheremet-va sheremet-va reopened this Nov 24, 2026
@flakiness-io

flakiness-io Bot commented Nov 24, 2026

Copy link
Copy Markdown

Test Results Summary

This comment shows the latest test results for this pull request.

Commit Status Test Results CI Runs
544aecf No results No test results 2 runs

View full report

ℹ️ About Flakiness.io in GitHub

Your team has set up Flakiness.io pull request comments. This comment is updated when

  • The first test results arrive for this pull request
  • A later run reports more results for the same commit
  • A new commit is pushed and tested

Flakiness.io rewrites the comment in place, so it always reflects the most recently tested commit.

@sheremet-va
sheremet-va merged commit f88ab6c into vitest-dev:main Nov 24, 2026
20 of 57 checks passed
markharding pushed a commit to futo-org/Harbor that referenced this pull request Dec 1, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@vitest/browser-playwright](https://vitest.dev/config/browser/playwright) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright)) | [`5.1.0` → `5.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fbrowser-playwright/5.1.0/5.1.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fbrowser-playwright/5.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fbrowser-playwright/5.1.0/5.1.2?slim=true) |
| [@vitest/browser-playwright](https://vitest.dev/config/browser/playwright) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright)) | [`5.1.1` → `5.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fbrowser-playwright/5.1.1/5.1.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fbrowser-playwright/5.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fbrowser-playwright/5.1.1/5.1.2?slim=true) |
| [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.1` → `5.1.2`](https://renovatebot.com/diffs/npm/vitest/5.1.1/5.1.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/5.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/5.1.1/5.1.2?slim=true) |
| [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.0` → `5.1.2`](https://renovatebot.com/diffs/npm/vitest/5.1.0/5.1.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/5.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/5.1.0/5.1.2?slim=true) |

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/browser-playwright)</summary>

### [`v5.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v5.1.2)

[Compare Source](vitest-dev/vitest@v5.1.1...v5.1.2)

#####    🐞 Bug Fixes

- Report global setup errors instead of "no test files"  -  by [@&#8203;jszumski](https://github.com/jszumski) and **Claude Opus 5.5** in [#&#8203;12031](vitest-dev/vitest#12031) [<samp>(b7572)</samp>](vitest-dev/vitest@b7572c1e6)
- Warn when projects attach the same file  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12043](vitest-dev/vitest#12043) [<samp>(5f884)</samp>](vitest-dev/vitest@5f8847345)
- **browser**:
  - Don't fail trace when locator has no match for non-playwright providers  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#&#8203;11975](vitest-dev/vitest#11975) [<samp>(f0500)</samp>](vitest-dev/vitest@f05003327)
  - Save failure screenshots per instance  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12042](vitest-dev/vitest#12042) [<samp>(e0e8e)</samp>](vitest-dev/vitest@e0e8e0000)
  - Mock assets and computed dynamic imports  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11954](vitest-dev/vitest#11954) [<samp>(c6ad9)</samp>](vitest-dev/vitest@c6ad97dec)
- **cli**:
  - Disallow --changed in vitest related  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12038](vitest-dev/vitest#12038) [<samp>(b3a80)</samp>](vitest-dev/vitest@b3a803b1f)
- **coverage**:
  - Prevent duplicate metrics caused by source map end column differences  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;12040](vitest-dev/vitest#12040) [<samp>(45d19)</samp>](vitest-dev/vitest@45d199c58)
- **deps**:
  - Update all non-major dependencies  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12050](vitest-dev/vitest#12050) [<samp>(ff6b4)</samp>](vitest-dev/vitest@ff6b4275f)
- **mocker**:
  - Transform a factory-mocked module once  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12027](vitest-dev/vitest#12027) [<samp>(8b0ca)</samp>](vitest-dev/vitest@8b0ca603a)
- **pool**:
  - Handle failed forks worker start on bun  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12039](vitest-dev/vitest#12039) [<samp>(4aec8)</samp>](vitest-dev/vitest@4aec89426)
- **snapshot**:
  - Remove new snapshots of a failed retry  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12052](vitest-dev/vitest#12052) [<samp>(21238)</samp>](vitest-dev/vitest@2123874a4)
- **ui**:
  - Ensure `detailsPosition: bottom` for auto-opened trace view  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#&#8203;12016](vitest-dev/vitest#12016) [<samp>(366ac)</samp>](vitest-dev/vitest@366ac633b)

#####    🏎 Performance

- Read external source maps once per run  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12106](vitest-dev/vitest#12106) [<samp>(b5a55)</samp>](vitest-dev/vitest@b5a553395)
- **expect**: Reuse the key array in deep equality  -  by [@&#8203;camc314](https://github.com/camc314) in [#&#8203;12104](vitest-dev/vitest#12104) [<samp>(f88ab)</samp>](vitest-dev/vitest@f88ab6cc3)
- **mocker**: Find dynamic imports with es-module-lexer  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12028](vitest-dev/vitest#12028) [<samp>(5812e)</samp>](vitest-dev/vitest@5812ec58f)

#####     [View changes on GitHub](vitest-dev/vitest@v5.1.1...v5.1.2)

### [`v5.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v5.1.1)

[Compare Source](vitest-dev/vitest@v5.1.0...v5.1.1)

#####    🚀 Features

- **cache**: Add fs module cache env variables  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11859](vitest-dev/vitest#11859) [<samp>(708c0)</samp>](vitest-dev/vitest@708c05da0)

#####    🐞 Bug Fixes

- Rerun on file changes after a config restart  -  by [@&#8203;magurotuna](https://github.com/magurotuna) in [#&#8203;11772](vitest-dev/vitest#11772) and [#&#8203;11829](vitest-dev/vitest#11829) [<samp>(289ca)</samp>](vitest-dev/vitest@289caab9c)
- Avoid leaking the context expect  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11845](vitest-dev/vitest#11845) [<samp>(3c967)</samp>](vitest-dev/vitest@3c967a7b7)
- Report fixture teardown errors once  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11857](vitest-dev/vitest#11857) [<samp>(6b167)</samp>](vitest-dev/vitest@6b167eb79)
- Improve diffs for asymmetric matchers  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11855](vitest-dev/vitest#11855) [<samp>(86775)</samp>](vitest-dev/vitest@86775420f)
- Apply --shard before the test run starts  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11846](vitest-dev/vitest#11846) [<samp>(e5c80)</samp>](vitest-dev/vitest@e5c80b775)
- Reset local expect state between retries for `expect.assertions/hasAssertions`  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#&#8203;11900](vitest-dev/vitest#11900) [<samp>(50dcd)</samp>](vitest-dev/vitest@50dcdb373)
- Sort test files before the seeded shuffle  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11926](vitest-dev/vitest#11926) [<samp>(3aa30)</samp>](vitest-dev/vitest@3aa3045a9)
- Tear down fixture contexts one at a time  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11956](vitest-dev/vitest#11956) [<samp>(5712b)</samp>](vitest-dev/vitest@5712b5fd2)
- Count merged errors in the error divider  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11955](vitest-dev/vitest#11955) [<samp>(4bc4f)</samp>](vitest-dev/vitest@4bc4f86e8)
- Match `-` and `.` in `noExternal` wildcards  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#&#8203;11978](vitest-dev/vitest#11978) [<samp>(efba8)</samp>](vitest-dev/vitest@efba8cbfe)
- Give each test attempt a new `signal`  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11998](vitest-dev/vitest#11998) [<samp>(77a30)</samp>](vitest-dev/vitest@77a306757)
- Throw timeout error classes instead of Error  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;12003](vitest-dev/vitest#12003) [<samp>(9b874)</samp>](vitest-dev/vitest@9b87492f7)
- **ast-collect**:
  - Only collect calls with a name argument  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11853](vitest-dev/vitest#11853) [<samp>(c015a)</samp>](vitest-dev/vitest@c015ad5a6)
- **browser**:
  - Scale the iframe for preview without the UI  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11856](vitest-dev/vitest#11856) [<samp>(034d4)</samp>](vitest-dev/vitest@034d44e54)
  - Fix expect.element with `message` and remove redundant `[ERROR]` in trace steps  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#&#8203;11832](vitest-dev/vitest#11832) [<samp>(1d115)</samp>](vitest-dev/vitest@1d115dcc3)
- **cache**:
  - Always leave a manifest to the fs module cache  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11858](vitest-dev/vitest#11858) [<samp>(1b238)</samp>](vitest-dev/vitest@1b2380c88)
  - Watch cached files outside the root  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11860](vitest-dev/vitest#11860) [<samp>(9c044)</samp>](vitest-dev/vitest@9c044db81)
  - Treat a removed cache file as a miss  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11861](vitest-dev/vitest#11861) [<samp>(f21f2)</samp>](vitest-dev/vitest@f21f224ba)
  - Allow cache hits in configureServer  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11927](vitest-dev/vitest#11927) [<samp>(a0dfc)</samp>](vitest-dev/vitest@a0dfc8b08)
- **cli**:
  - Parse `--bail` correctly  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11896](vitest-dev/vitest#11896) [<samp>(4f91e)</samp>](vitest-dev/vitest@4f91e76af)
- **coverage**:
  - Transform untested files with correct project  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11870](vitest-dev/vitest#11870) [<samp>(83298)</samp>](vitest-dev/vitest@832980392)
  - V8 to handle sub process script coverages separately  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11890](vitest-dev/vitest#11890) [<samp>(71ad4)</samp>](vitest-dev/vitest@71ad4dfa1)
  - Derive `ignoreNode` AST type from installed parser  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11958](vitest-dev/vitest#11958) [<samp>(cab34)</samp>](vitest-dev/vitest@cab34bb0e)
  - V8 to ignore more Vite's CJS import helpers  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11981](vitest-dev/vitest#11981) [<samp>(4e905)</samp>](vitest-dev/vitest@4e905a1ba)
- **experimental**:
  - Skip ambiguous `expect.poll` trace steps in concurrent tests  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#&#8203;11869](vitest-dev/vitest#11869) [<samp>(f6ef4)</samp>](vitest-dev/vitest@f6ef4b0ef)
- **mocker**:
  - Keep re-exports of hoisted imports  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11867](vitest-dev/vitest#11867) [<samp>(5f72c)</samp>](vitest-dev/vitest@5f72c3d0d)
- **pool**:
  - Shutdown disconnected workers even when `testTimeout` is disabled  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11924](vitest-dev/vitest#11924) [<samp>(97911)</samp>](vitest-dev/vitest@979118a70)
  - Terminate stuck orphaned forks workers  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11939](vitest-dev/vitest#11939) [<samp>(47c87)</samp>](vitest-dev/vitest@47c87ebb5)
  - `isolate: false` to not re-use workers that failed to start  -  by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in [#&#8203;11953](vitest-dev/vitest#11953) [<samp>(7e672)</samp>](vitest-dev/vitest@7e67234a9)
- **reporter**:
  - Report crashed test files as failed in json  -  by [@&#8203;magurotuna](https://github.com/magurotuna) in [#&#8203;11965](vitest-dev/vitest#11965) [<samp>(47fb9)</samp>](vitest-dev/vitest@47fb992ca)
- **spy**:
  - Use primordials to allow spying on builtins  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11837](vitest-dev/vitest#11837) [<samp>(d951e)</samp>](vitest-dev/vitest@d951e63d3)
- **typecheck**:
  - Add env var to hide experimental warning  -  by [@&#8203;aliamanatali](https://github.com/aliamanatali) in [#&#8203;11840](vitest-dev/vitest#11840) [<samp>(5a69e)</samp>](vitest-dev/vitest@5a69e4396)
  - Kill the checker process tree on windows  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in [#&#8203;11850](vitest-dev/vitest#11850) [<samp>(1fa69)</samp>](vitest-dev/vitest@1fa69e09b)
- **vitest**:
  - Allow assigning to import.meta.env  -  by [@&#8203;aliamanatali](https://github.com/aliamanatali) in [#&#8203;11841](vitest-dev/vitest#11841) [<samp>(9fd1f)</samp>](vitest-dev/vitest@9fd1f22a4)

#####    🏎 Performance

- Send source maps to workers as a string  -  by [@&#8203;maschwenk](https://github.com/maschwenk) in [#&#8203;11750](vitest-dev/vitest#11750) [<samp>(485cd)</samp>](vitest-dev/vitest@485cd627d)
- Resolve CLI file filters once instead of per test file  -  by [@&#8203;maschwenk](https://github.com/maschwenk) in [#&#8203;11935](vitest-dev/vitest#11935) [<samp>(96a90)</samp>](vitest-dev/vitest@96a9032af)
- **browser**: Reuse cached modules during vitest run  -  by [@&#8203;magurotuna](https://github.com/magurotuna) in [#&#8203;11914](vitest-dev/vitest#11914) [<samp>(0c502)</samp>](vitest-dev/vitest@0c502bc72)

#####     [View changes on GitHub](vitest-dev/vitest@v5.1.0...v5.1.1)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NS4xLjEiLCJ1cGRhdGVkSW5WZXIiOiI0NS4xLjEiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlIl19-->

Co-authored-by: Denis Podlozny <[email protected]>
Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2579
Reviewed-by: Denis Podlozny <[email protected]>
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.

3 participants