Commits
Click on a commit to change the comparison rangefeat: add many.rs example for profiling resolver with many packages (#836)
## Summary
Adds a new example `examples/many.rs` for profiling the resolver with many package resolution requests.
The example:
- Walks the `node_modules` directory from the current working directory
- Collects all package names (regular and scoped packages)
- Filters out `@types` packages and dot directories (`.bin`, `.cache`, etc.)
- Resolves each package using the resolver with ESM/browser configuration
- Prints summary statistics (total packages, successful/failed resolutions)
## Usage
```bash
cargo run --example many
```
This is useful for profiling resolver performance with realistic workloads.
🤖 Generated with [Claude Code](https://claude.com/claude-code)