Improve performance

This issue has been tracked since 2021-12-20.

We're currently doing a lot of work to render the top 10 npm version sizes.

  1. Retrieve npm manifest from registry
  2. Sort all versions with semver
  3. Filter down to 5 less than and 5 greater than current version
  4. Fetch all versions from redis (this can be very slow)

Perhaps we can utilize a Sorted Set in Redis so we can easily page through results.

https://redis.io/commands#sorted_set

More Details About Repo
Owner Name styfle
Repo Name packagephobia
Full Name styfle/packagephobia
Language TypeScript
Created Date 2018-03-20
Updated Date 2023-03-16
Star Count 1915
Watcher Count 18
Fork Count 49
Issue Count 11

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date