zombocom / derailed_benchmarks

Go faster, off the Rails - Benchmarks for your whole Rails app
2.96k stars 144 forks source link

Allow config of `Benchmark.ips` via env vars #147

Closed hmcfletch closed 5 years ago

hmcfletch commented 5 years ago

I was finding that 5 seconds was not long enough for me to feel comfortable with the results with my perf:ips, so I added the ability to configure the Benchmark.ips test run via environment variables. I prefixed each of them with IPS_* since they we specific only to this test.

I didn't immediately see a place to add tests for this, but if you like the PR and can point me to it. I'll add them.

hmcfletch commented 5 years ago

Totally missed that #126 existed.

schneems commented 5 years ago

Thanks!