https://github.com/dsherret/bench-registry
npm and jsr proxy registry for benchmarking code that uses those registries
https://github.com/dsherret/bench-registry
Last synced: 12 days ago
JSON representation
npm and jsr proxy registry for benchmarking code that uses those registries
- Host: GitHub
- URL: https://github.com/dsherret/bench-registry
- Owner: dsherret
- License: mit
- Created: 2024-07-14T16:34:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T22:46:16.000Z (3 months ago)
- Last Synced: 2025-06-03T18:15:43.798Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://jsr.io/@david/bench-registry
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @david/bench-registry
npm and jsr proxy registry that caches responses from the original registries so
you can get more reliable benchmarks.## Starting server
```ts
deno run --allow-net --allow-read=. --allow-write=. jsr:@david/bench-registry/cli
```### Options
* `--cached-only` - Run using only packages that have previously been cached.
## Setting up benchmark
Use an `.npmrc` with:
```ini
registry=http://localhost:8000/npm/
```And set the `JSR_URL` env var:
```
export JSR_URL=http://localhost:8000/jsr/
```Note: You probably want to run the server on a separate computer on your local
network instead of using the same computer that's running the benchmark.