Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(benchmark): compare against pnpm #177

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

KSXGitHub
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Nov 3, 2023

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
tarball/download_dependency    1.00      9.0±0.47ms   484.1 KB/sec    1.02      9.2±0.74ms   472.8 KB/sec

Copy link

github-actions bot commented Nov 3, 2023

Integrated-Benchmark Report (Linux)

Scenario: Frozen Lockfile

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.948 ± 0.065 1.828 2.054 1.75 ± 0.06
pacquet@main 1.934 ± 0.065 1.842 2.030 1.73 ± 0.06
pnpm 1.116 ± 0.015 1.098 1.147 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.9480480026200002,
      "stddev": 0.06461914809775492,
      "median": 1.95489264502,
      "user": 0.9450928200000002,
      "system": 1.6693122600000003,
      "min": 1.8278162735199999,
      "max": 2.0542212055199998,
      "times": [
        1.9120567315199999,
        2.0542212055199998,
        1.9939531105200001,
        1.8278162735199999,
        1.96397833052,
        1.94981286252,
        1.91534051352,
        1.89269554952,
        1.95997242752,
        2.01063302152
      ],
      "exit_codes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ]
    },
    {
      "command": "pacquet@main",
      "mean": 1.93446775032,
      "stddev": 0.06487416527385235,
      "median": 1.92027483652,
      "user": 0.93074742,
      "system": 1.61721106,
      "min": 1.8416402065200002,
      "max": 2.02953470652,
      "times": [
        2.02953470652,
        1.99597593552,
        1.86465597252,
        1.8416402065200002,
        1.92616996452,
        2.02629397752,
        1.90921990752,
        1.89094188752,
        1.91437970852,
        1.94586523652
      ],
      "exit_codes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ]
    },
    {
      "command": "pnpm",
      "mean": 1.1158901760200002,
      "stddev": 0.014547432749678972,
      "median": 1.11742984202,
      "user": 1.26426292,
      "system": 0.19074735999999998,
      "min": 1.0983179485199999,
      "max": 1.14730288452,
      "times": [
        1.11931521452,
        1.09846059752,
        1.11681766352,
        1.12068699952,
        1.1170248625199999,
        1.10090906252,
        1.14730288452,
        1.0983179485199999,
        1.11783482152,
        1.12223170552
      ],
      "exit_codes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ]
    }
  ]
}

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

Attention: 33 lines in your changes are missing coverage. Please review.

Comparison is base (2fb4bd4) 86.57% compared to head (cf7bb55) 86.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
+ Coverage   86.57%   86.66%   +0.09%     
==========================================
  Files          56       56              
  Lines        2838     2843       +5     
==========================================
+ Hits         2457     2464       +7     
+ Misses        381      379       -2     
Files Coverage Δ
crates/package-manager/src/install.rs 82.75% <ø> (+0.94%) ⬆️
...ckage-manager/src/install_package_from_registry.rs 98.34% <100.00%> (-0.02%) ⬇️
...tes/package-manager/src/install_frozen_lockfile.rs 0.00% <0.00%> (ø)
crates/tarball/src/lib.rs 90.62% <98.61%> (+0.89%) ⬆️
...package-manager/src/install_package_by_snapshot.rs 0.00% <0.00%> (ø)
crates/package-manager/src/create_virtual_store.rs 0.00% <0.00%> (ø)
...kage-manager/src/create_virtual_dir_by_snapshot.rs 0.00% <0.00%> (ø)

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

@KSXGitHub KSXGitHub force-pushed the ci-demonstrate-pnpm-benchmark branch from 97237bf to 690d5e1 Compare November 4, 2023 17:22
@KSXGitHub KSXGitHub force-pushed the ci-demonstrate-pnpm-benchmark branch from 9c38751 to 690d5e1 Compare November 4, 2023 18:29
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