Class: BenchmarkDriver::Output::Rubybench
- Inherits:
-
BulkOutput
- Object
- BulkOutput
- BenchmarkDriver::Output::Rubybench
- Defined in:
- lib/benchmark_driver/output/rubybench.rb,
lib/benchmark_driver/output/rubybench/version.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
Optional environment variables:
RUBY_ENVIRONMENT
Constant Summary collapse
- VERSION =
"0.2.4"
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.
21 22 23 24 25 26 27 |
# File 'lib/benchmark_driver/output/rubybench.rb', line 21 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 |