Skip to content

[Bug]: bzlmod extension performance #1563

@jbedard

Description

@jbedard

What happened?

The rules_js bzlmod npm extensions are slower then the repository rules today due to parsing and iterating over the lockfile+npmrc file content multiple times.

How to reproduce

Run any build using the bzlmod npm.npm_translate_lock API and a large lockfile.

Known issues/reasons:

Metadata

Metadata

Labels

bugSomething isn't workingperformanceImprove performance of existing features

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions