test.rb in pyroscope-0.0.12 vs test.rb in pyroscope-0.0.13

- old
+ new

@@ -1,13 +1,13 @@ -require 'pyroscope' +# require 'pyroscope' puts "prestart #{Process.pid}" -Pyroscope.configure do |config| - config.app_name = "test.ruby.app{}" - config.server_address = "http://localhost:4040/" -end +# Pyroscope.configure do |config| +# config.app_name = "test.ruby.app{}" +# config.server_address = "http://localhost:4040/" +# end puts "start" iteration=0 st = Time.new @@ -37,15 +37,15 @@ r = rand if r < 0.1 sleep_job elsif r < 0.5 puts(" * test.ruby.app{job=0}") - Pyroscope.change_name("test.ruby.app{job=0}") + # Pyroscope.change_name("test.ruby.app{job=0}") job_0 - Pyroscope.change_name("test.ruby.app{}") + # Pyroscope.change_name("test.ruby.app{}") else puts(" * test.ruby.app{job=1}") - Pyroscope.change_name("test.ruby.app{job=1}") + # Pyroscope.change_name("test.ruby.app{job=1}") job_1 - Pyroscope.change_name("test.ruby.app{}") + # Pyroscope.change_name("test.ruby.app{}") end end