Add rails_version to output

This commit is contained in:
Benjamin Fleischer
2016-03-13 14:11:34 -05:00
parent fcd394ab09
commit 1b6094304e
2 changed files with 2 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ module Benchmark
output = {
label: label,
version: ::ActiveModel::Serializer::VERSION.to_s,
rails_version: ::Rails.version.to_s,
iterations_per_second: entry.ips,
iterations_per_second_standard_deviation: entry.stddev_percentage,
total_allocated_objects_per_iteration: count_total_allocated_objects(&block)