https://github.com/icebob/bench-bot
:construction_worker: Benchmark runner robot. Continuous benchmarking
https://github.com/icebob/bench-bot
benchmark benchmarking bot continuous-benchmarking
Last synced: about 1 year ago
JSON representation
:construction_worker: Benchmark runner robot. Continuous benchmarking
- Host: GitHub
- URL: https://github.com/icebob/bench-bot
- Owner: icebob
- License: mit
- Created: 2017-04-07T16:15:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T20:46:26.000Z (about 9 years ago)
- Last Synced: 2025-02-03T23:35:39.707Z (over 1 year ago)
- Topics: benchmark, benchmarking, bot, continuous-benchmarking
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :construction_worker: bench-bot
Benchmark runner robot for [Benchmarkify](https://github.com/icebob/benchmarkify)
# Installation
```
$ git clone https://github.com/icebob/bench-bot.git
```
## Environment variables
* `PORT` - exposed port for server
* `REPO_OWNER` - owner's username of repository (e.g: icebob)
* `REPO_NAME` - Repository name (e.g: bench-bot)
* `SUITE_FILENAME` - [Benchmarkify](https://github.com/icebob/benchmarkify) suite filename with path (e.g: `benchmark/suites/perf.js`)
* `GITHUB_TOKEN` - Token to access github. You can create one in [Github settings](https://github.com/settings/tokens)
# Usage
## Local
First set environment variables.
```
$ npm start
```
## Docker
Rename the `dc.env.sample` to `dc.env` and set environment variables.
```
$ docker-compose build
$ docker-compose up -d
```
If the bot is running you should set a Web hook for your repository.
The payload URL:
`http://:4278/github-hook`

Check the "Pull request" event in triggers.

## License
bench-bot is available under the [MIT license](https://tldrlegal.com/license/mit-license).
## Contact
Copyright (C) 2017 Icebob
[](https://github.com/icebob) [](https://twitter.com/Icebobcsi)