--- a/web/app/models/benchmark_result.rb Fri Jul 12 13:33:58 2013 +0200
+++ b/web/app/models/benchmark_result.rb Wed Jul 17 21:05:40 2013 +0200
@@ -28,4 +28,8 @@
benchmark_durations.map { |duration| duration.duration }.max
end
+ def to_json
+ [ created_at.to_i * 1000, min_duration ]
+ end
+
end