An open API service indexing awesome lists of open source software.

https://github.com/uber-workflow/report-benchmarks


https://github.com/uber-workflow/report-benchmarks

Last synced: 3 months ago
JSON representation

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.
## Overview

The 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.