Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rounding performance increase

  • Loading branch information...
commit 3682f5b60c6775d12c2d3ac779a88df76e164099 1 parent 3aaf1df
@kassens kassens authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  benchmark/seqpar_benchmark.rb
View
2  benchmark/seqpar_benchmark.rb
@@ -98,7 +98,7 @@ def benchmark
size, time = line.split(' ')
performance_increases << (before[size].to_f - time.to_f) / before[size].to_f unless time == "0" || before[size] == "0"
end
- puts "Average performance increase: #{performance_increases.mean * 100}%"
+ puts "Average performance increase: #{(performance_increases.mean * 100 * 10).round / 10.0}%"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.