https://github.com/uber-workflow/report-benchmarks
https://github.com/uber-workflow/report-benchmarks
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uber-workflow/report-benchmarks
- Owner: uber-workflow
- License: mit
- Created: 2019-06-28T17:36:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:42:43.000Z (almost 2 years ago)
- Last Synced: 2025-03-14T06:26:12.010Z (7 months ago)
- Language: JavaScript
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# report-benchmarks
> a GitHub App built with [probot](https://github.com/probot/probot) that comments on pull requests a series of boxplots showing the difference in compile time between the BASE and HEAD commits (using data stored in a checkrun)
The app itself is stored in the ./probot-app-report-benchmarks directory.
## OverviewThe app relies on a microservice (stored in ./benchmarks-image-service) to generate the boxplots from the data.
The microservice generates svg images from data in a GET request, allowing the URL to be directly embedded into the html on your page, or, in this case, in a comment on GitHub.
Then, whenever a pr is opened, or the 'Benchmarks' check finishes running, the GitHub app queries the microservice, and posts the result as a comment.
## Setup
The microservice is hosted using [Cloudflare Workers](https://workers.cloudflare.com/)## Deploy
The microservice and GitHub App are both deployed automatically by running the ./deploy/deploy.sh via a GitHub Action.