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

feat ✨: (cli) Cache manifests to improve fetch speed #59

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

nachoaldamav
Copy link
Owner

Cache expires in 5 minutes unless the manifest version is accurate, then it is infinite. close #38

Cache expires in 5 minutes unless the manifest version is accurate, then it is infinite.
close #38
@vercel
Copy link

vercel bot commented Sep 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
fnpm ⬜️ Ignored (Inspect) Sep 26, 2022 at 7:34PM (UTC)

@github-actions
Copy link

Benchmark results:

  • OS: ubuntu-latest
  • Node.js: 18
  • Commit: 613eee5
  • Pull request title: feat ✨: (cli) Cache manifests to improve fetch speed
Name Time Group
FNPM install (with cache / with lockfile) 1.04s 3
FNPM install (with cache / no lockfile) 1.22s 2
PNPM install (with cache / with lockfile) 2.00s 3
NPM install (with cache / with lockfile) 2.29s 3
YARN install (with cache / no lockfile) 2.88s 2
YARN install (with cache / with lockfile) 3.15s 3
NPM install (with cache / no lockfile) 3.20s 2
NPM install (no cache / no lockfile) 5.37s 1
FNPM install (no cache / no lockfile) 5.87s 1
YARN install (no cache / no lockfile) 9.08s 1
PNPM install (with cache / no lockfile) 21.99s 2
PNPM install (no cache / no lockfile) 41.93s 1

@github-actions
Copy link

Benchmark results:

  • OS: windows-latest
  • Node.js: 18
  • Commit: 613eee5
  • Pull request title: feat ✨: (cli) Cache manifests to improve fetch speed
Name Time Group
FNPM install (with cache / with lockfile) 3
FNPM install (with cache / no lockfile) 2
FNPM install (no cache / no lockfile) 1
PNPM install (with cache / with lockfile) 1.99s 3
YARN install (with cache / with lockfile) 2.17s 3
NPM install (with cache / with lockfile) 4.59s 3
YARN install (with cache / no lockfile) 5.24s 2
NPM install (with cache / no lockfile) 5.76s 2
NPM install (no cache / no lockfile) 12.23s 1
YARN install (no cache / no lockfile) 13.80s 1
PNPM install (with cache / no lockfile) 32.09s 2
PNPM install (no cache / no lockfile) 54.45s 1

@github-actions
Copy link

Benchmark results:

  • OS: macos-latest
  • Node.js: 18
  • Commit: 613eee5
  • Pull request title: feat ✨: (cli) Cache manifests to improve fetch speed
Name Time Group
PNPM install (with cache / with lockfile) 2.97s 3
NPM install (with cache / with lockfile) 6.92s 3
NPM install (with cache / no lockfile) 7.28s 2
FNPM install (with cache / no lockfile) 9.53s 2
YARN install (with cache / with lockfile) 12.66s 3
NPM install (no cache / no lockfile) 16.59s 1
FNPM install (no cache / no lockfile) 26.16s 1
FNPM install (with cache / with lockfile) 26.79s 3
YARN install (no cache / no lockfile) 29.80s 1
YARN install (with cache / no lockfile) 51.41s 2
PNPM install (with cache / no lockfile) 1.22m 2
PNPM install (no cache / no lockfile) 2.23m 1

@nachoaldamav nachoaldamav merged commit 830ebbc into main Sep 26, 2022
@nachoaldamav nachoaldamav deleted the feat/cache-manifests branch October 14, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Degradated performance in recent versions
1 participant