Skip to content

👷 Benchmark runner robot. Continuous benchmarking

License

Notifications You must be signed in to change notification settings

icebob/bench-bot

Repository files navigation

👷 bench-bot

Benchmark runner robot for 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 suite filename with path (e.g: benchmark/suites/perf.js)
  • GITHUB_TOKEN - Token to access github. You can create one in Github settings

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://<server-address>:4278/github-hook

image

Check the "Pull request" event in triggers. image

License

bench-bot is available under the MIT license.

Contact

Copyright (C) 2017 Icebob

@icebob @icebob

About

👷 Benchmark runner robot. Continuous benchmarking

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published