pnpm / pacquet

experimental package manager for node.js
Apache License 2.0
762 stars 21 forks source link

test: registry-mock #198

Closed KSXGitHub closed 10 months ago

KSXGitHub commented 10 months ago

Closes https://github.com/pnpm/pacquet/pull/197

github-actions[bot] commented 10 months ago

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
tarball/download_dependency    1.00      6.7±0.19ms   651.1 KB/sec    1.03      6.9±1.51ms   629.3 KB/sec
codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (078359e) 87.11% compared to head (5add8a1) 87.01%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #198 +/- ## ========================================== - Coverage 87.11% 87.01% -0.10% ========================================== Files 56 56 Lines 2825 2827 +2 ========================================== - Hits 2461 2460 -1 - Misses 364 367 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 10 months ago

Integrated-Benchmark Report (Linux)

Scenario: Frozen Lockfile

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 140.7 ± 9.7 126.5 156.5 1.05 ± 0.11
pacquet@main 133.9 ± 10.1 122.0 157.0 1.00
BENCHMARK_REPORT.json ```json { "results": [ { "command": "pacquet@HEAD", "mean": 0.14066654803714285, "stddev": 0.009708702501169357, "median": 0.14047047918, "user": 0.06203632285714287, "system": 0.2029950942857143, "min": 0.12646879318, "max": 0.15651942318, "times": [ 0.15588750618, 0.14436975418, 0.13667896818, 0.14104748218, 0.13071299418, 0.13050478818, 0.14587170018, 0.15318179218, 0.14242455418, 0.13989347618, 0.12646879318, 0.15651942318, 0.13257476818, 0.13319567218 ], "exit_codes": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, { "command": "pacquet@main", "mean": 0.13385326139428572, "stddev": 0.010120591801215504, "median": 0.13335983268, "user": 0.061691608571428566, "system": 0.20378716571428565, "min": 0.12202425018000002, "max": 0.15702110418, "times": [ 0.14614289018, 0.12582021418, 0.15702110418, 0.12381036618, 0.13971140318, 0.13148147218, 0.13901885918, 0.12343962018000001, 0.14054120918, 0.12202425018000002, 0.13671056018, 0.12681566318, 0.13523819318, 0.12616985417999999 ], "exit_codes": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } ] } ```