Skip to content

Dependency Health and Libyear lookups need significant performance increases

Against a larger set of dependencies than the example, I'm seeing:

  • Dependency Health: ~25m, ~26000 dependencies
  • Libyears: ~4h20m, ~237000 dependencies (and their versions)

This isn't ideal, and means that generating it as part of the build of the database isn't ideal.

Compared to advisories:

  • ~1m, ~82000 dependencies

Upstream discussion: https://github.com/ecosyste-ms/packages/issues/651

Edited by Jamie Tanna