Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 13 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 (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T03:08:45.000Z (5 months ago)
- Last Synced: 2024-10-30T08:57:43.591Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://jsr.io/@david/bench-registry
- Size: 6.84 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
```## 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.