Skip to content

perf(resolving-deps-resolver): order node ids without rendering a sort key - #13568

Merged
zkochan merged 1 commit into
mainfrom
fix-13505
Aug 1, 2026
Merged

zkochan merged 1 commit into
mainfrom
fix-13505

Conversation

@zkochan

@zkochan zkochan commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Third installment on the peer-phase performance work in
pnpm/tasks#16 (after #13506 and
#13545). Related to pnpm/tasks#16 — partial fix, the issue stays
open.

Profiling the reference Bit workspace (114 projects, ~21,000 lockfile entries;
resolution-only replay through @pnpm/napi with lockfileOnly: true) showed
that 2.50s of the 4.6s final peer pass was spent in build_final_dep_paths
— not in peer matching, but in sorting. The peer-resolution passes sort
NodeIds so their output does not depend on hash iteration order, and the
comparison key was a freshly formatted String per element
("0:{value:020}" for a counter, "1:{id}" for a leaf). sort_by_key
re-invokes the key function on every comparison, so each sort allocated
O(n log n) strings; the Tarjan pass under build_final_dep_paths also sorts
one successor list per participating node.

Deriving Ord on NodeId and sorting the values directly removes those
allocations. The derived order is the same total order the rendered keys
encoded, so the resolved graph is unchanged (see the commit body for why the
two orders coincide).

Measured on the reference workspace (resolution-only replay, warm cache,
offline):

main this PR
whole resolution ~16.0s ~13.4s
build_final_dep_paths 2.50s 0.76s
— Tarjan SCC pass 1.10s 0.12s
— depPath recomputation 1.27s 0.45s

The in-repo workspace_full_resolution benchmark's peer-heavy scenario goes
from ~1.01s to ~0.85s (3 runs each, ±0.01s).

Side finding: resolution is not run-to-run deterministic on that workspace

While setting up the byte-comparison for this change I found that main
already produces different lockfiles on consecutive runs
of the same binary,
with the same input lockfile and offline: true — peer-variant bindings flip
between still-valid providers (e.g. [email protected] ↔ 5.5.3 ↔ 5.9.3,
several thousand lines). This predates this PR and is unrelated to it; it is
almost certainly the concurrent importer-init fan-out interacting with an
order-sensitive fold (the preferred-versions fold the hoist pickers read).
Filed separately as #13567.

Because of that, byte-identity of the emitted lockfile could not be used as the
gate here. The change is instead argued to be output-preserving by
construction (equal orders) and covered by the full suite (7,547 tests pass)
plus a unit test pinning the ordering contract.

Still open on pnpm/tasks#16

  • Parallelize per-importer discovery and the final peer pass — the whole peer
    phase is still single-threaded (~4.6s discovery walks + ~2.3s final walk).
  • Amortize the initial rounds.
  • Emit a progress/stage event during the peer phase (pending a TS
    emission-parity check).

Squash Commit Body

The peer-resolution passes sort `NodeId`s so their output does not depend
on hash iteration order. The comparison key was a freshly formatted
`String` per element — `"0:{value:020}"` for a counter, `"1:{id}"` for a
leaf — and `sort_by_key` re-invokes the key function on every comparison,
so each sort allocated `O(n log n)` strings. `build_final_dep_paths` and
the Tarjan pass under it run those sorts over every node that resolved a
peer, plus one sorted successor list per node.

Derive `Ord` on `NodeId` instead and sort the values directly. The
derived order is the same total order the rendered keys encoded: the
variant order puts counters before leaves, a fixed-width zero-padded
u64 compares like the number it renders, and leaf ids compare as their
`str` either way. The resolved graph is unchanged.

On the 114-project Bit workspace from
https://github.com/pnpm/tasks/issues/16, resolution drops from ~16.0s
to ~13.4s, with the final depPath pass falling from 2.50s to 0.76s. The
peer-heavy `workspace_full_resolution` benchmark goes from ~1.01s to
~0.85s.

Related to https://github.com/pnpm/tasks/issues/16.

Checklist

  • I checked the referenced issue and verified that none of the PRs
    already linked to it solves it.
  • The change is implemented in both the TypeScript CLI and the Rust
    pnpm/ port, or the description notes what still needs porting.
  • Added a changeset (pnpm changeset) if this PR changes any published
    package. Keep it short and written for pnpm users — it becomes a release note.
  • Added or updated tests.

Written by an agent (Claude Code, claude-opus-5).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Performance

    • Improved dependency resolution speed for large workspaces with many peer dependencies.
    • Preserved existing dependency graph results while streamlining internal ordering.
  • Bug Fixes

    • Ensured consistent ordering of dependency nodes, including numeric counters and package identifiers.
  • Tests

    • Added coverage verifying dependency node ordering behavior.

…t key

The peer-resolution passes sort `NodeId`s so their output does not depend
on hash iteration order. The comparison key was a freshly formatted
`String` per element — `"0:{value:020}"` for a counter, `"1:{id}"` for a
leaf — and `sort_by_key` re-invokes the key function on every comparison,
so each sort allocated `O(n log n)` strings. `build_final_dep_paths` and
the Tarjan pass under it run those sorts over every node that resolved a
peer, plus one sorted successor list per node.

Derive `Ord` on `NodeId` instead and sort the values directly. The
derived order is the same total order the rendered keys encoded: the
variant order puts counters before leaves, a fixed-width zero-padded
u64 compares like the number it renders, and leaf ids compare as their
`str` either way. The resolved graph is unchanged.

On the 114-project Bit workspace from
https://github.com/pnpm/pnpm/issues/13505, resolution drops from ~16.0s
to ~13.4s, with the final depPath pass falling from 2.50s to 0.76s. The
peer-heavy `workspace_full_resolution` benchmark goes from ~1.01s to
~0.85s.
@coderabbitai

coderabbitai Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The resolver now derives total ordering for NodeId and uses direct sorting during peer-path construction and finalization. Tests verify counter and leaf ordering. A changeset records faster resolution for a large peer-heavy workspace.

Changes

Peer resolution ordering

Layer / File(s) Summary
Define and validate NodeId ordering
pnpm/crates/resolving-deps-resolver/src/node_id.rs, pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs
NodeId derives PartialOrd and Ord. Tests verify numeric counter ordering before package-ID leaf ordering.
Use direct ordering during peer resolution
pnpm/crates/resolving-deps-resolver/src/resolve_peers.rs, pnpm/crates/resolving-deps-resolver/src/resolve_peers/context.rs, pnpm/crates/resolving-deps-resolver/src/resolve_peers/finalize.rs, .changeset/faster-peer-dep-path-finalization.md
Peer-resolution paths, participants, and neighbors use direct NodeId sorting. The formatted sort-key helper and its imports are removed. The changeset records the resolution update.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • pnpm/pnpm#13492: Related dependency-resolution ordering and deterministic node handling.
  • pnpm/pnpm#13506: Related peer-resolution performance work in the same resolver.
  • pnpm/pnpm#13551: Related resolve_peers modularization in context.rs and finalize.rs.

Suggested labels: product: pacquet

Suggested reviewers: copilot

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-13505

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge with no actionable correctness or security issues identified.

Derived NodeId ordering preserves the previous counter-before-leaf, numeric-counter, and lexical-leaf order at every changed sort site, so the optimization does not alter resolver traversal or output.

Reviews (1): Last reviewed commit: "perf(resolving-deps-resolver): order nod..." | Re-trigger Greptile

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

perf(resolving-deps-resolver): sort NodeId directly via derived Ord

✨ Enhancement 🧪 Tests 📝 Documentation 🕐 40+ Minutes

Grey Divider

AI Description

• Derive Ord for NodeId to avoid per-comparison string allocations in peer sorting.
• Replace string sort-key usage in peer finalization and Tarjan SCC neighbor ordering.
• Add unit test and changeset documenting the peer-heavy workspace speedup.
Diagram

graph TD
  A["Peer resolution"] --> B["Peer finalization"] --> C["Sort NodeIds"] --> D["NodeId Ord"]
  C --> E["SCC neighbors"]
  D --> F["Ordering test"]
  A --> G["Changeset note"]

  subgraph Legend
    direction LR
    _mod(["Module"]) ~~~ _type["Type/trait"] ~~~ _test(["Test"]) 
  end
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Use `sort_by_cached_key` with the existing rendered key
  • ➕ Very small behavioral change (keep current key format).
  • ➕ Avoids O(n log n) recomputation of the key function.
  • ➖ Still allocates O(n) strings per sort pass.
  • ➖ Keeps the ordering logic indirect (encoded in string formatting).
2. Custom comparator (`sort_by`) without allocations
  • ➕ Avoids allocations without changing the NodeId trait surface.
  • ➕ Ordering logic can be kept close to each call site.
  • ➖ Duplicates ordering logic across multiple sorts.
  • ➖ Harder to keep consistent and to pin with one contract test.

Recommendation: Deriving Ord on NodeId is the strongest approach: it eliminates key allocations entirely, centralizes the determinism contract in the domain type, and simplifies call sites. sort_by_cached_key would be a reasonable fallback but still leaves per-sort allocations and indirect ordering semantics.

Files changed (6) +46 / -19

Enhancement (3) +15 / -12
node_id.rsMake 'NodeId' totally ordered for deterministic sorting +9/-1

Make 'NodeId' totally ordered for deterministic sorting

• Derives 'PartialOrd' and 'Ord' for 'NodeId' and documents the intended ordering (counters before leaves; numeric counter order; leaf order by package id). Wires in a dedicated test module.

pnpm/crates/resolving-deps-resolver/src/node_id.rs

resolve_peers.rsRemove string sort-key usage when ordering dependency tree node IDs +2/-4

Remove string sort-key usage when ordering dependency tree node IDs

• Replaces 'sort_by_key(node_id_sort_key)' with 'sort()' over collected 'NodeId' references, leveraging the new derived ordering and avoiding string allocations.

pnpm/crates/resolving-deps-resolver/src/resolve_peers.rs

finalize.rsSort participants and SCC neighbor lists using 'NodeId' ordering +4/-7

Sort participants and SCC neighbor lists using 'NodeId' ordering

• Switches multiple hot-path sorts in final depPath recomputation and Tarjan SCC processing from rendered-key sorting to direct 'NodeId' sorting ('sort()'), removing O(n log n) string allocations while preserving deterministic traversal.

pnpm/crates/resolving-deps-resolver/src/resolve_peers/finalize.rs

Refactor (1) +0 / -7
context.rsDelete 'node_id_sort_key' helper +0/-7

Delete 'node_id_sort_key' helper

• Removes the helper that rendered 'NodeId' into prefixed strings for ordering. Sorting now relies on 'NodeId: Ord' instead of allocating formatted keys.

pnpm/crates/resolving-deps-resolver/src/resolve_peers/context.rs

Tests (1) +26 / -0
tests.rsAdd unit test pinning 'NodeId' sort order +26/-0

Add unit test pinning 'NodeId' sort order

• Introduces a test that verifies counters sort before leaves and that counter ordering is numeric, preserving the peer-resolution determinism contract relied on by lockfile output.

pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs

Documentation (1) +5 / -0
faster-peer-dep-path-finalization.mdAdd changeset for faster peer-heavy resolution +5/-0

Add changeset for faster peer-heavy resolution

• Adds a pacquet patch changeset describing measured resolution improvements on a large Bit workspace and stating the resolved dependency graph is unchanged.

.changeset/faster-peer-dep-path-finalization.md

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.

Pull request overview

Improves pacquet’s peer-resolution finalization performance by removing per-comparison String allocations when ordering NodeIds, replacing sort_by_key(node_id_sort_key) with direct Ord-based sorting and adding a test to lock in the ordering contract.

Changes:

  • Derive PartialOrd/Ord for NodeId and switch peer-phase sorts to Vec::sort().
  • Remove the string-based node_id_sort_key helper previously used for deterministic ordering.
  • Add a unit test asserting the NodeId ordering (counters first, numeric order; then leaves by id) and include a changeset for the pacquet patch release.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pnpm/crates/resolving-deps-resolver/src/resolve_peers/finalize.rs Replaces sort-key allocation with direct NodeId ordering for deterministic peer finalization and Tarjan neighbor ordering.
pnpm/crates/resolving-deps-resolver/src/resolve_peers/context.rs Removes node_id_sort_key now that NodeId has a native total order.
pnpm/crates/resolving-deps-resolver/src/resolve_peers.rs Switches deterministic sorting of dependency-tree NodeIds to sort() over &NodeId.
pnpm/crates/resolving-deps-resolver/src/node_id.rs Derives Ord for NodeId and documents the ordering contract used by peer-resolution.
pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs Adds a unit test pinning the NodeId ordering semantics.
.changeset/faster-peer-dep-path-finalization.md Records the pacquet patch-level perf improvement for release notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai coderabbitai Bot 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.

🧹 Nitpick comments (1)
pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs (1)

16-16: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Remove the committed dbg! output.

dbg!(&node_ids) writes to test stderr on every run. The assert_eq! already exposes the values when the test fails. Remove this debug artifact to keep CI output quiet.

Proposed change
-    dbg!(&node_ids);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs` at line 16, Remove
the committed dbg!(&node_ids) statement from the test, leaving the existing
assert_eq! validation unchanged so values are still reported only on failure.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs`:
- Line 16: Remove the committed dbg!(&node_ids) statement from the test, leaving
the existing assert_eq! validation unchanged so values are still reported only
on failure.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e5e8069a-41ce-4978-be24-1eafe10ed6eb

📥 Commits

Reviewing files that changed from the base of the PR and between d83eb4f and 28c998f.

📒 Files selected for processing (6)
  • .changeset/faster-peer-dep-path-finalization.md
  • pnpm/crates/resolving-deps-resolver/src/node_id.rs
  • pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_peers.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_peers/context.rs
  • pnpm/crates/resolving-deps-resolver/src/resolve_peers/finalize.rs
💤 Files with no reviewable changes (1)
  • pnpm/crates/resolving-deps-resolver/src/resolve_peers/context.rs

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (1) 📜 Skill insights (0)

Context used
✅ Compliance rules (platform): 24 rules

Grey Divider


Informational

1. Stray dbg! in test 🐞 Bug ⚙ Maintainability
Description
The new sorts_counters_numerically_before_leaves test calls dbg!(&node_ids), which
formats/captures debug output on every run and adds noise when running tests with --nocapture or
when the test fails.
Code

pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs[16]

+    dbg!(&node_ids);
Relevance

●●● Strong

Team has removed stray debug prints in tests before; similar cleanup accepted/merged (e.g., pnpm/pnpm#13293).

PR-#13293

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The new unit test includes an unconditional dbg!(&node_ids) immediately after sorting.

pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs[8-18]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
A `dbg!(&node_ids);` statement was left in the new `NodeId` ordering unit test. It adds unnecessary formatting work and makes test output noisier under `--nocapture` / failure output.

### Issue Context
This is test-only, but it was introduced by this PR and is not needed because the assertion already captures the ordering contract.

### Fix Focus Areas
- pnpm/crates/resolving-deps-resolver/src/node_id/tests.rs[12-18]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Ordering contract tied to derive 🐞 Bug ⚙ Maintainability
Description
NodeId now derives Ord, and peer-resolution determinism relies on that order; because derived
enum ordering depends on variant/field order, future additions/reordering of variants can change
lockfile-affecting traversal order without an explicit decision at the Ord implementation site.
Code

pnpm/crates/resolving-deps-resolver/src/node_id.rs[R22-25]

+#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum NodeId {
    /// Fresh per-occurrence counter value. Allocated by [`NodeId::next`].
    Counter(u64),
Relevance

●● Moderate

No clear historical evidence on requiring explicit Ord impl vs derive for determinism in this crate.

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
node_id.rs documents that ordering is used to keep output independent of hash iteration order, and
the peer-resolution code now calls .sort() directly on NodeId collections, making the Ord
semantics lockfile-relevant.

pnpm/crates/resolving-deps-resolver/src/node_id.rs[16-29]
pnpm/crates/resolving-deps-resolver/src/resolve_peers.rs[499-518]
pnpm/crates/resolving-deps-resolver/src/resolve_peers/finalize.rs[234-241]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`NodeId`’s ordering is now part of a lockfile-affecting determinism contract, but it is currently defined implicitly via `#[derive(Ord)]` (which depends on enum variant order and field structure). This is correct today, but it’s easy to accidentally change in the future when adding/reordering variants.

### Issue Context
The codebase now calls `.sort()` on collections of `NodeId`/`&NodeId` in peer-resolution hot paths.

### Fix Focus Areas
- pnpm/crates/resolving-deps-resolver/src/node_id.rs[16-29]
- pnpm/crates/resolving-deps-resolver/src/resolve_peers.rs[502-518]
- pnpm/crates/resolving-deps-resolver/src/resolve_peers/finalize.rs[234-241]

### Suggested change
Replace derived `Ord`/`PartialOrd` with a manual implementation (and keep the existing unit test). Use an exhaustive `match` so adding a new variant forces an explicit ordering decision.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Changeset missing pnpm entry 📘 Rule violation § Compliance
Description
The new changeset only declares a bump for pacquet and does not include a pnpm entry. This
violates the requirement that changesets explicitly declare the pnpm package bump type.
Code

.changeset/faster-peer-dep-path-finalization.md[R1-3]

+---
+"pacquet": patch
+---
Relevance

● Weak

Similar “add pnpm entry to changeset” suggestions repeatedly rejected and PRs merged unchanged
(e.g., pnpm/pnpm#13545, pnpm/pnpm#13563).

PR-#13545
PR-#13563
PR-#13549

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
PR Compliance ID 713436 requires changeset front-matter to include an entry for the pnpm package.
The added changeset front-matter includes only "pacquet": patch and no pnpm entry.

Rule 713436: Explicitly declare pnpm package and correct bump type in changesets
.changeset/faster-peer-dep-path-finalization.md[1-3]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The changeset front-matter is missing a `pnpm` entry, so the `pnpm` package bump type is not explicitly declared.

## Issue Context
The compliance checklist requires every new/modified changeset to include an explicit `pnpm` package entry with a valid bump type (`patch`/`minor`/`major`).

## Fix Focus Areas
- .changeset/faster-peer-dep-path-finalization.md[1-3]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

To customize comments, go to the Qodo configuration screen, or learn more in the docs.

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Aug 1, 2026
@zkochan

zkochan commented Aug 1, 2026

Copy link
Copy Markdown
Member Author

Thanks — going through the three Qodo findings:

1. dbg! in the new test (also raised by Copilot): keeping it. It is the convention the repo's Rust style guide prescribes for this shape of assertion — "If the values being compared with assert_eq! have complex structures (such as a struct or an array), they should be logged with dbg!" (pnpm/CODE_STYLE_GUIDE.md, line 454). The assertion compares two Vec<NodeId>s. Test output is captured by default, so it prints nothing in CI unless the test fails.

2. Ordering contract tied to derive: keeping the derive. The concern is fair in principle — the order is lockfile-affecting — but a hand-written Ord would restate what the derive already does, and the two mitigations that actually catch a mistake are in place: the doc comment on the type states the contract in words (counters before leaves, counters by numeric value, leaves by package id), and sorts_counters_numerically_before_leaves fails if the variant order is swapped. A manual impl would not add a check that the test does not already provide. Worth noting this is the pre-existing order, not a new one: it is exactly what the removed node_id_sort_key rendered.

3. Changeset missing a pnpm entry: intentional, no change. The repo's contributor guide is explicit that a Rust-only change must not name pnpm: "in changesets, pnpm always means the TypeScript CLI package. A changeset whose implementation is Rust-only and targets pacquet must omit pnpm" (AGENTS.md). This PR only touches pnpm/crates/resolving-deps-resolver. Qodo's own relevance note flags this rule as repeatedly rejected on #13545 and #13563 for the same reason.


Written by an agent (Claude Code, claude-opus-5).

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                                            main                                   pr
-----                                            ----                                   --
lockfile/parse_pnpm_lock                         1.00     11.2±0.02ms    33.4 MB/sec    1.00     11.2±0.04ms    33.4 MB/sec
packument/parse                                  1.00     37.7±0.07µs  1757.7 MB/sec    1.01     38.0±0.19µs  1745.9 MB/sec
tarball/download_dependency                      1.02      2.3±0.07ms  1904.0 KB/sec    1.00      2.2±0.10ms  1941.4 KB/sec
tarball_batch/cold_store_many_medium_tarballs    1.00    177.4±1.17ms 90.2 KElem/sec    1.01    178.5±2.11ms 89.6 KElem/sec

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.96%. Comparing base (b7f81c9) to head (28c998f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   pnpm/pnpm#13568      +/-   ##
==========================================
- Coverage   87.96%   87.96%   -0.01%     
==========================================
  Files         563      563              
  Lines       97341    97339       -2     
==========================================
- Hits        85624    85622       -2     
  Misses      11717    11717              

☔ View full report in Codecov by Harness.
📢 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.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Integrated-Benchmark Report (Linux)

Commit: 28c998f96dd0

Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm. Bencher consumes pacquet@HEAD and pnpr@HEAD.

The tables below show mean ± σ; Bencher thresholds on the minimum latency, which is far less perturbed by shared-runner contention (noise only adds time).

Scenario: Isolated linker: fresh restore, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.523 ± 0.140 2.354 2.808 1.65 ± 0.20
pacquet@main 2.417 ± 0.073 2.331 2.560 1.58 ± 0.18
pnpr@HEAD 1.525 ± 0.164 1.342 1.741 1.00
pnpr@main 1.571 ± 0.167 1.358 1.752 1.03 ± 0.16
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.5232203285200003,
      "stddev": 0.13970471464293324,
      "median": 2.5423404840200003,
      "user": 1.5127224399999997,
      "system": 1.2333211400000001,
      "min": 2.35376548202,
      "max": 2.8083329430200004,
      "times": [
        2.4624375780200003,
        2.56973571902,
        2.8083329430200004,
        2.57319420102,
        2.35376548202,
        2.5817322330200003,
        2.36181910702,
        2.61919453502,
        2.51494524902,
        2.3870462380200004
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.4171783596200003,
      "stddev": 0.0732905515128862,
      "median": 2.4176369165200002,
      "user": 1.4731255399999996,
      "system": 1.27003494,
      "min": 2.33101172802,
      "max": 2.55994364402,
      "times": [
        2.3355274010200002,
        2.42089356602,
        2.4143802670200003,
        2.55994364402,
        2.36237089902,
        2.48730394202,
        2.47278465602,
        2.4232819450200003,
        2.33101172802,
        2.3642855480200002
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.52521035732,
      "stddev": 0.1641843130065678,
      "median": 1.55861421202,
      "user": 1.02716554,
      "system": 1.12399994,
      "min": 1.3415445280199998,
      "max": 1.74050352102,
      "times": [
        1.74050352102,
        1.65286687002,
        1.3541401070199999,
        1.34267619802,
        1.72119152202,
        1.3415445280199998,
        1.63279513602,
        1.54387053002,
        1.34915726702,
        1.57335789402
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.57134645342,
      "stddev": 0.16663324990576853,
      "median": 1.66678560902,
      "user": 1.0163092399999998,
      "system": 1.12384774,
      "min": 1.35813570702,
      "max": 1.75229310202,
      "times": [
        1.35813570702,
        1.67648995902,
        1.65708125902,
        1.75229310202,
        1.67778868602,
        1.74226534402,
        1.36288258502,
        1.6788447440199998,
        1.43231596502,
        1.37536718302
      ]
    }
  ]
}

Scenario: Isolated linker: fresh restore, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 256.3 ± 2.2 253.2 260.2 1.01 ± 0.03
pacquet@main 253.9 ± 8.0 245.1 273.4 1.00
pnpr@HEAD 268.4 ± 9.6 257.1 283.9 1.06 ± 0.05
pnpr@main 264.5 ± 3.6 259.2 270.5 1.04 ± 0.04
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.2562938389800001,
      "stddev": 0.00218880182568272,
      "median": 0.25650155108000006,
      "user": 0.2130764,
      "system": 0.52236614,
      "min": 0.25317954958000005,
      "max": 0.26019748458,
      "times": [
        0.25369021558000004,
        0.25619316758000005,
        0.25504917458000004,
        0.25693549058000004,
        0.25680993458000007,
        0.26019748458,
        0.25822634958,
        0.25797580958000005,
        0.25317954958000005,
        0.25468121358000007
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.25390930477999996,
      "stddev": 0.007981980668477757,
      "median": 0.25141295158000004,
      "user": 0.20335609999999998,
      "system": 0.52696554,
      "min": 0.24508053358,
      "max": 0.27343047558000005,
      "times": [
        0.24881676958,
        0.25177089758000004,
        0.25764321658000006,
        0.25643359958000006,
        0.25665953358000004,
        0.24508053358,
        0.24820057358,
        0.25000244258000004,
        0.25105500558000005,
        0.27343047558000005
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.2684321592800001,
      "stddev": 0.00961500607414793,
      "median": 0.26664789558,
      "user": 0.21873359999999997,
      "system": 0.5183929400000001,
      "min": 0.25705364258,
      "max": 0.28389126858,
      "times": [
        0.27309413458000004,
        0.28079937158000007,
        0.28389126858,
        0.27548194358000005,
        0.26015617858000006,
        0.25705364258,
        0.26100258558000006,
        0.25954667658,
        0.27053309458,
        0.26276269658000007
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.26451264238000005,
      "stddev": 0.0035975993603774453,
      "median": 0.26421514358000003,
      "user": 0.20557309999999998,
      "system": 0.5326315399999999,
      "min": 0.25919325258000003,
      "max": 0.27050548158000004,
      "times": [
        0.26209443358000006,
        0.26915244558000007,
        0.25919325258000003,
        0.26193992258000004,
        0.27050548158000004,
        0.26476040058000005,
        0.26429811358000005,
        0.26752739858,
        0.26413217358,
        0.26152280158
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.573 ± 0.024 2.531 2.603 1.64 ± 0.16
pacquet@main 2.575 ± 0.018 2.548 2.597 1.64 ± 0.16
pnpr@HEAD 1.570 ± 0.151 1.419 1.789 1.00
pnpr@main 1.591 ± 0.106 1.440 1.766 1.01 ± 0.12
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.57344228938,
      "stddev": 0.023765586188864193,
      "median": 2.5749132583799996,
      "user": 1.3961533799999999,
      "system": 1.33647118,
      "min": 2.53063969338,
      "max": 2.60285323638,
      "times": [
        2.58044966238,
        2.59966137238,
        2.56782852138,
        2.5571992423800003,
        2.60285323638,
        2.54741469838,
        2.53063969338,
        2.57032470938,
        2.57950180738,
        2.59854995038
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 2.57501901358,
      "stddev": 0.017654882320938724,
      "median": 2.57874551388,
      "user": 1.4169457799999998,
      "system": 1.31595518,
      "min": 2.54786459938,
      "max": 2.59709476138,
      "times": [
        2.58204157838,
        2.58501242838,
        2.59709476138,
        2.54786459938,
        2.5908277113800002,
        2.59410898338,
        2.5754494493799998,
        2.55703014438,
        2.55469454438,
        2.56606593538
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.57004378478,
      "stddev": 0.1505673014392829,
      "median": 1.4882227213800001,
      "user": 0.9887062799999999,
      "system": 1.1682552800000001,
      "min": 1.4188978193800001,
      "max": 1.78943353938,
      "times": [
        1.74303743138,
        1.67313469038,
        1.4188978193800001,
        1.78943353938,
        1.75475895738,
        1.4834831503800001,
        1.46450752338,
        1.4929622923800001,
        1.44492096938,
        1.43530147438
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 1.59145020698,
      "stddev": 0.10610947055503826,
      "median": 1.56901744888,
      "user": 1.02258908,
      "system": 1.1349618799999999,
      "min": 1.43972134138,
      "max": 1.76628677138,
      "times": [
        1.72085074438,
        1.50567472838,
        1.54164598038,
        1.69390927038,
        1.61048667038,
        1.59638891738,
        1.51989697338,
        1.43972134138,
        1.51964067238,
        1.76628677138
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 388.6 ± 7.7 377.5 399.7 1.30 ± 0.04
pacquet@main 383.5 ± 9.6 370.3 400.2 1.28 ± 0.04
pnpr@HEAD 299.6 ± 6.3 289.3 309.5 1.00
pnpr@main 305.5 ± 6.5 295.7 318.8 1.02 ± 0.03
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.38859809520000005,
      "stddev": 0.007650664992709523,
      "median": 0.3889287632,
      "user": 0.49497125999999997,
      "system": 0.70539928,
      "min": 0.37750621170000004,
      "max": 0.3996957057,
      "times": [
        0.37750621170000004,
        0.39066596470000003,
        0.38404852770000003,
        0.39666300870000004,
        0.3881775397,
        0.39707337870000003,
        0.38967998670000004,
        0.3996957057,
        0.3791150687,
        0.3833555597
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.38352654450000007,
      "stddev": 0.009604572317918187,
      "median": 0.38337499070000003,
      "user": 0.51379396,
      "system": 0.6513816799999999,
      "min": 0.37025889370000004,
      "max": 0.4001735007,
      "times": [
        0.37025889370000004,
        0.3838254307,
        0.38292455070000003,
        0.3891644307,
        0.39213413770000005,
        0.3889306817,
        0.37319578070000003,
        0.4001735007,
        0.3719437427,
        0.38271429570000004
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.2996486892,
      "stddev": 0.00627932176203585,
      "median": 0.2982997217,
      "user": 0.20014685999999998,
      "system": 0.5101580800000001,
      "min": 0.2893026387,
      "max": 0.3094923017,
      "times": [
        0.3094923017,
        0.29474488270000004,
        0.2893026387,
        0.2959961177,
        0.2995484377,
        0.30803399870000003,
        0.30544936170000003,
        0.2977957217,
        0.29731970970000005,
        0.2988037217
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.30547125480000004,
      "stddev": 0.006529147365575743,
      "median": 0.30460177120000004,
      "user": 0.19966695999999998,
      "system": 0.53494428,
      "min": 0.2956672857,
      "max": 0.31877755570000005,
      "times": [
        0.30441560170000004,
        0.30507874570000004,
        0.30478794070000004,
        0.2956672857,
        0.3006787347,
        0.31877755570000005,
        0.30418601170000004,
        0.31167005670000003,
        0.3094475387,
        0.30000307670000004
      ]
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + hot store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.725 ± 0.009 1.707 1.737 5.76 ± 0.11
pacquet@main 1.719 ± 0.007 1.708 1.731 5.74 ± 0.11
pnpr@HEAD 0.299 ± 0.006 0.292 0.307 1.00
pnpr@main 0.304 ± 0.008 0.295 0.318 1.02 ± 0.03
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.7252968586800002,
      "stddev": 0.009430180638398839,
      "median": 1.7292498305800001,
      "user": 0.7045827800000001,
      "system": 0.74721576,
      "min": 1.7073123405800001,
      "max": 1.7368473295800002,
      "times": [
        1.7285253015800002,
        1.7330520105800002,
        1.7368473295800002,
        1.7142118905800001,
        1.7299743595800001,
        1.7322741225800002,
        1.73008995658,
        1.7184179465800002,
        1.7073123405800001,
        1.72226332858
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.71940046908,
      "stddev": 0.00723465959382519,
      "median": 1.7179076655800003,
      "user": 0.68644188,
      "system": 0.73385556,
      "min": 1.70818416558,
      "max": 1.73057396458,
      "times": [
        1.7123851235800003,
        1.7177459075800001,
        1.7301727015800001,
        1.7249981275800002,
        1.73057396458,
        1.7188395185800003,
        1.71542750958,
        1.7180694235800003,
        1.7176082485800002,
        1.70818416558
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.29947308168000003,
      "stddev": 0.0055533837881362276,
      "median": 0.29896871508000006,
      "user": 0.18663007999999998,
      "system": 0.51598996,
      "min": 0.29193653258,
      "max": 0.30718017858,
      "times": [
        0.29974961458000005,
        0.29263908958000007,
        0.29193653258,
        0.29445304158,
        0.29794611158000006,
        0.30718017858,
        0.30087027658000004,
        0.30509554858000004,
        0.29818781558000007,
        0.30667260758000003
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.30432824488000004,
      "stddev": 0.007655432934724024,
      "median": 0.3044912215800001,
      "user": 0.19040107999999997,
      "system": 0.54319226,
      "min": 0.29458307458000005,
      "max": 0.31844753858,
      "times": [
        0.31203496458,
        0.30954325058000004,
        0.30054074858,
        0.31844753858,
        0.29485186958000004,
        0.30439967458000006,
        0.30458276858000005,
        0.29809799658,
        0.30620056258000006,
        0.29458307458000005
      ]
    }
  ]
}

Scenario: Isolated linker: fresh resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 178.5 ± 8.7 164.2 193.9 2.05 ± 0.11
pacquet@main 179.9 ± 6.7 175.2 201.9 2.06 ± 0.09
pnpr@HEAD 87.3 ± 0.8 86.0 88.7 1.00 ± 0.02
pnpr@main 87.1 ± 1.7 83.8 91.1 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.17845826481750002,
      "stddev": 0.008731931509146567,
      "median": 0.17913462288,
      "user": 0.16187905749999998,
      "system": 0.07228144750000001,
      "min": 0.16423221138000002,
      "max": 0.19391881238000003,
      "times": [
        0.17293379838000003,
        0.16748492038,
        0.16423221138000002,
        0.17176402638000002,
        0.17969149238,
        0.17038337638000003,
        0.18678169838000003,
        0.18184748538000003,
        0.17181815638000003,
        0.18098203238000002,
        0.19077166138,
        0.18646029538000003,
        0.17203672538000003,
        0.18564779138,
        0.19391881238000003,
        0.17857775338
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 0.17989915766571432,
      "stddev": 0.00673433243329755,
      "median": 0.17860147238000001,
      "user": 0.1653599057142857,
      "system": 0.06531426,
      "min": 0.17521262138000002,
      "max": 0.20191889538000002,
      "times": [
        0.20191889538000002,
        0.17902889038000003,
        0.17605443238000001,
        0.18184999838000002,
        0.17679417938000003,
        0.17841458738000002,
        0.17907742038000002,
        0.18160987938000003,
        0.17566508138000003,
        0.17706266138,
        0.17521262138000002,
        0.17878835738,
        0.18148173938000003,
        0.17562946338000002
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.08734405380424246,
      "stddev": 0.0007696379685796681,
      "median": 0.08727231538,
      "user": 0.02095493818181818,
      "system": 0.00880164606060606,
      "min": 0.08597328938,
      "max": 0.08870354938,
      "times": [
        0.08597328938,
        0.08714150138,
        0.08814793838,
        0.08747564738000001,
        0.08621777838,
        0.08837032438,
        0.08748531438,
        0.08660236838,
        0.08709768838,
        0.08863868738,
        0.08619685838,
        0.08758485138000001,
        0.08783460938,
        0.08748001438,
        0.08852899138,
        0.08727231538,
        0.08655460838000001,
        0.08658878338,
        0.08845872938,
        0.08658995538,
        0.08798077438,
        0.08799251638,
        0.08678929938,
        0.08722125938,
        0.08668952238000001,
        0.08843484538,
        0.08706859338,
        0.08738282238,
        0.08723886238,
        0.08666245238,
        0.08870354938,
        0.08661795838,
        0.08733106538
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 0.08713755792545454,
      "stddev": 0.001699898368094971,
      "median": 0.08725706638,
      "user": 0.021278301818181824,
      "system": 0.008815327272727274,
      "min": 0.08384898538,
      "max": 0.09112279538,
      "times": [
        0.08480708338,
        0.08589738638,
        0.08911329738,
        0.08680606038000001,
        0.08762553738000001,
        0.08688253338,
        0.08671596138,
        0.08814831838000001,
        0.08774633438,
        0.08784783438,
        0.08685360938,
        0.08716151738,
        0.08799059238,
        0.08737131138,
        0.08721978638,
        0.08932799038,
        0.08493394938,
        0.08780149738,
        0.08969406738,
        0.08435810038,
        0.08662663438,
        0.09112279538,
        0.08480442738,
        0.08745480838,
        0.08782261838000001,
        0.08494644438,
        0.08384898538,
        0.08772638638000001,
        0.08982516238,
        0.08604527338,
        0.08498087738,
        0.08877516338000001,
        0.08725706638
      ]
    }
  ]
}

Scenario: Isolated linker: peer-heavy resolve, hot cache, offline

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.425 ± 0.474 0.899 2.424 1.00
pacquet@main 1.645 ± 0.590 0.815 2.811 1.15 ± 0.57
pnpm@HEAD 2.869 ± 0.045 2.785 2.918 2.01 ± 0.67
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.4247208838866667,
      "stddev": 0.4744929733263082,
      "median": 1.4474978542199999,
      "user": 1.33580854,
      "system": 0.18256825333333335,
      "min": 0.8988278942200001,
      "max": 2.42385326122,
      "times": [
        1.72157311222,
        1.0990304682199998,
        0.9200429212200001,
        1.4474978542199999,
        1.21878360122,
        1.59575783622,
        0.8988278942200001,
        2.42385326122,
        1.49712100622
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.6448442156644443,
      "stddev": 0.5904244349284231,
      "median": 1.59793244422,
      "user": 1.5214263177777778,
      "system": 0.2127108088888889,
      "min": 0.8148109022200001,
      "max": 2.81093860922,
      "times": [
        1.23462506922,
        2.23258126522,
        1.66267267722,
        1.32491490522,
        2.81093860922,
        1.3302382982199998,
        0.8148109022200001,
        1.79488377022,
        1.59793244422
      ]
    },
    {
      "command": "pnpm@HEAD",
      "mean": 2.8689636075533334,
      "stddev": 0.0450950086053686,
      "median": 2.89037294822,
      "user": 4.412219873333333,
      "system": 0.24694480888888892,
      "min": 2.78488968722,
      "max": 2.91809184122,
      "times": [
        2.89037294822,
        2.78488968722,
        2.83134313622,
        2.84319016222,
        2.84275599822,
        2.90012567822,
        2.90452177222,
        2.90538124422,
        2.91809184122
      ]
    }
  ]
}

Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.472 ± 0.077 4.384 4.624 1.28 ± 0.03
pacquet@main 4.469 ± 0.063 4.393 4.593 1.28 ± 0.02
pnpr@HEAD 3.541 ± 0.130 3.462 3.864 1.02 ± 0.04
pnpr@main 3.485 ± 0.041 3.428 3.559 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.472034159280001,
      "stddev": 0.07674383295710575,
      "median": 4.442735541779999,
      "user": 1.6221548799999996,
      "system": 1.36403626,
      "min": 4.38394709578,
      "max": 4.62395601078,
      "times": [
        4.41871039078,
        4.44375311578,
        4.44953165078,
        4.51416776878,
        4.38394709578,
        4.43403902778,
        4.44171796778,
        4.42886687878,
        4.58165168578,
        4.62395601078
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 4.4694473733799995,
      "stddev": 0.06333834951181475,
      "median": 4.465736616280001,
      "user": 1.6711782800000001,
      "system": 1.29508076,
      "min": 4.39295869678,
      "max": 4.59311937578,
      "times": [
        4.49323106078,
        4.52091832578,
        4.4311521667800005,
        4.40767462578,
        4.4565091507800005,
        4.59311937578,
        4.51744184778,
        4.39295869678,
        4.4749640817800005,
        4.40650440178
      ]
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.5409453767800008,
      "stddev": 0.1300244720165349,
      "median": 3.4759941562800005,
      "user": 1.1621707799999998,
      "system": 1.22081306,
      "min": 3.4617288577800003,
      "max": 3.8642839817800003,
      "times": [
        3.4705862297800003,
        3.4617288577800003,
        3.4814020827800003,
        3.6232508717800003,
        3.61937814878,
        3.46373680278,
        3.4997443827800003,
        3.46247875378,
        3.8642839817800003,
        3.46286365578
      ]
    },
    {
      "command": "pnpr@main",
      "mean": 3.4850726861799997,
      "stddev": 0.041191872548176335,
      "median": 3.4939514747800002,
      "user": 1.16439118,
      "system": 1.1753521599999999,
      "min": 3.42827484178,
      "max": 3.55920981578,
      "times": [
        3.46151464678,
        3.44266839978,
        3.49012455178,
        3.44034097678,
        3.55920981578,
        3.5151786187800003,
        3.42827484178,
        3.50205013878,
        3.4977783977800003,
        3.51358647378
      ]
    }
  ]
}

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13568
Testbedpacquet
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
🚷 view threshold
2,530.64 ms
(-4.97%)Baseline: 2,663.07 ms
3,195.68 ms
(79.19%)
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
🚷 view threshold
1,707.31 ms
(-5.07%)Baseline: 1,798.55 ms
2,158.26 ms
(79.11%)
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
🚷 view threshold
377.51 ms
(-16.96%)Baseline: 454.63 ms
545.56 ms
(69.20%)
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
🚷 view threshold
164.23 ms
(-22.06%)Baseline: 210.72 ms
252.86 ms
(64.95%)
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
🚷 view threshold
2,353.77 ms
(-2.65%)Baseline: 2,417.88 ms
2,901.45 ms
(81.12%)
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
🚷 view threshold
4,383.95 ms
(-2.79%)Baseline: 4,509.60 ms
5,411.51 ms
(81.01%)
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
🚷 view threshold
253.18 ms
(-7.99%)Baseline: 275.16 ms
330.19 ms
(76.68%)
isolated-linker.peer-heavy-resolve.hot-cache.offline📈 view plot
🚷 view threshold
898.83 ms
🐰 View full continuous benchmarking report in Bencher

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectpnpm's project
Branchpr/13568
Testbedpnpr

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkLatencymilliseconds (ms)
isolated-linker.fresh-install.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,418.90 ms
isolated-linker.fresh-install.cold-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
291.94 ms
isolated-linker.fresh-install.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
289.30 ms
isolated-linker.fresh-resolve.hot-cache.offline📈 view plot
⚠️ NO THRESHOLD
85.97 ms
isolated-linker.fresh-restore.cold-cache.cold-store📈 view plot
⚠️ NO THRESHOLD
1,341.54 ms
isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr📈 view plot
⚠️ NO THRESHOLD
3,461.73 ms
isolated-linker.fresh-restore.hot-cache.hot-store📈 view plot
⚠️ NO THRESHOLD
257.05 ms
🐰 View full continuous benchmarking report in Bencher

@zkochan
zkochan merged commit d6a01f0 into main Aug 1, 2026
38 checks passed
@zkochan
zkochan deleted the fix-13505 branch August 1, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: pacquet reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants