Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4ff5f07aba2b
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 595794ca11d8
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 10, 2016

  1. Copy the full SHA
    d123db1 View commit details
  2. Copy the full SHA
    595794c View commit details
Showing with 4 additions and 4 deletions.
  1. +4 −4 tool/jt.rb
8 changes: 4 additions & 4 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
JDEBUG_TEST = "-Dmaven.surefire.debug=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=#{JDEBUG_PORT} -Xnoagent -Djava.compiler=NONE"
JEXCEPTION = "-Xtruffle.exceptions.print_java=true"
METRICS_REPS = 10
HIGHER_HEAP = 40
HIGHER_HEAP = 45

# wait for sub-processes to handle the interrupt
trap(:INT) {}
@@ -602,7 +602,7 @@ def metrics_alloc(score_name, *args)
log "\n", nil
mean = samples.inject(:+) / samples.size
if score_name
puts "alloc-#{score_name} #{mean}"
puts "alloc-#{score_name}: #{mean}"
else
puts "#{human_size(mean)}, max #{human_size(samples.max)}"
end
@@ -655,7 +655,7 @@ def metrics_minheap(score_name, *args)
end
log "\n", nil
if score_name
puts "minheap-#{score_name} #{heap*1024*1024}"
puts "minheap-#{score_name}: #{heap*1024*1024}"
else
puts "#{heap} MB"
end
@@ -682,7 +682,7 @@ def metrics_time(score_name, *args)
region_samples = samples.map { |s| s[region] }
mean = region_samples.inject(:+) / samples.size
if score_name
puts "time-#{region.strip}-#{score_name} #{(mean*1000).round}"
puts "time-#{region.strip}-#{score_name}: #{(mean*1000).round}"
else
puts "#{region} #{mean.round(2)} s"
end