Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goenning/webpage-timing
Measure the performance of a webpage by collecting multiple metrics from a real browser
https://github.com/goenning/webpage-timing
docker performance puppeteer web
Last synced: 8 days ago
JSON representation
Measure the performance of a webpage by collecting multiple metrics from a real browser
- Host: GitHub
- URL: https://github.com/goenning/webpage-timing
- Owner: goenning
- License: mit
- Created: 2019-02-10T13:18:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-12T18:26:22.000Z (almost 6 years ago)
- Last Synced: 2024-11-02T19:41:37.543Z (about 2 months ago)
- Topics: docker, performance, puppeteer, web
- Language: JavaScript
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webpage-timing
`goenning/webpage-timing` is a docker image that collects performance metrics from a webpage using a real browser.
# how to use it
```
$ docker run goenning/webpage-timing
```The command above will load `https://example.org/` inside a container and print out a timing object in json format.
The following parameters are available as environment variables:
| Name | Default Value | Comments |
| ------------- | ------------- | ------------- |
| ORIGIN | `os.hostname()` | Sets a `origin` property on the timing object. Useful to specify from where the container is being executed. |
| REQUEST_URL | https://example.org/ | Specify which page to load |
| MONGO_URL | | If specified, the timing object will be stored on given MongoDB instance |# run it on the cloud
Read [Measuring the performance of a website from multiple locations on a budget](https://goenning.net/2019/02/10/measuring-performance-website-multiple-locations-budget/) to learn how to use this image to collect metrics from locations all around the world.