Class: BenchmarkDriver::Output::Rubybench
- Inherits:
-
BulkOutput
- Object
- BulkOutput
- BenchmarkDriver::Output::Rubybench
- Defined in:
- lib/benchmark_driver/output/rubybench.rb
Overview
Common environment variables:
API_URL=rubybench.org
API_NAME
API_PASSWORD
RUBY_COMMIT_HASH or RUBY_VERSION
Benchmark-specific environment variables:
BENCHMARK_TYPE_SCRIPT_URL
BENCHMARK_TYPE_DIGEST
REPO_NAME
ORGANIZATION_NAME
Instance Method Summary collapse
-
#bulk_output(job_context_result:, metrics:) ⇒ Object
For maintainability, this doesn’t support streaming progress output.
Instance Method Details
#bulk_output(job_context_result:, metrics:) ⇒ Object
For maintainability, this doesn’t support streaming progress output.
19 20 21 22 23 24 25 |
# File 'lib/benchmark_driver/output/rubybench.rb', line 19 def bulk_output(job_context_result:, metrics:) metrics.each do |metric| job_context_result.each do |job, context_result| create_benchmark_run(job, metric, context_result) end end end |