Popularity
3.6
Growing
Activity
0.0
Stable
71
3
1

Description

Ben helps your run your benchmarks on multiple environments.

Programming language: Go
Tags: Command Line     Benchmarks     Benchcmp     Go Tools     CLI    
Latest version: v0.2.0

ben alternatives and similar packages

Based on the "Command Line" category

Do you think we are missing an alternative of ben or a related project?

Add another 'Command Line' Package

README

Ben (beta) Your benchmark assistant, written in Go.


Ben is a simple tool that helps you run your benchmarks on multiple hardware specs, clouds and runtime versions, so that you can easily compare you results against different environments.

Install

With go get

$ go get https://github.com/drish/ben/cmd/ben

or with curl

curl -sf https://raw.githubusercontent.com/drish/ben/master/install.sh | sh

Requirements

  • Docker 17.03.0-ce+

Supported clouds

Quick Start

Add a ben.json file in the root of your project.

{
  "environments": [
    {
      "runtime": "ruby",
      "version": "2.3",
      "machine": "local",
      "before": ["gem install benchmark-ips"],
      "command": "ruby bench.rb"
    },
    {
      "runtime": "ruby",
      "version": "2.5",
      "machine": "local",
      "before": ["gem install benchmark-ips"],
      "command": "ruby bench.rb"
    }
  ]
}

Then, in the root of your project run.

$ ben

After all benchmarks are done, a benchmarks.md file will be generated.

Checkout examples folder for more.



More docs

License

MIT © Carlos Derich


*Note that all licence references and agreements mentioned in the ben README section above are relevant to that project's source code only.