Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ./bin/jruby -S rake spec:profiler
- /Users/../jruby/bin/jruby --profile --1.8 -S rspec spec/profiler/graph_profile_printer_spec.rb spec/profiler/json_profile_printer_spec.rb spec/profiler/profile_data_spec.rb spec/profiler/profiler_basics_spec.rb spec/profiler/runtime_spec.rb
- Profiling enabled; ^C shutdown will now dump profile info
- Ignoring jruby-launcher-1.0.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.0.19
- ....................................FProfiling enabled; ^C shutdown will now dump profile info
- Ignoring jruby-launcher-1.0.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.0.19
- spec not passed, output:
- ...........
- Finished in 0.122 seconds
- 11 examples, 0 failures
- Failures:
- 1) JRuby's profiling mode reports unimplemneted methods like fork as unimplemented
- Failure/Error: Kernel.respond_to?(:fork).should == false
- expected: false
- got: true (using ==)
- # ./spec/profiler/profiler_basics_spec.rb:8:in `(root)'
- Finished in 2.62 seconds
- 38 examples, 1 failure
- Failed examples:
- rspec ./spec/profiler/profiler_basics_spec.rb:7 # JRuby's profiling mode reports unimplemneted methods like fork as unimplemented
- RSpec::Expectations::ExpectationNotMetError: expected: "true"
- got: "0" (using ==)
- at :1
- at :1
- call at org/jruby/RubyProc.java:292
- instance_eval at org/jruby/RubyKernel.java:2163
- collect at org/jruby/RubyArray.java:2400
- collect at org/jruby/RubyArray.java:2400
- collect at org/jruby/RubyArray.java:2400
- call at org/jruby/RubyProc.java:292
- call at org/jruby/RubyProc.java:230
- main profile results:
- Total time: 0.00
- total self children calls method
- ----------------------------------------------------------------
- 0.00 0.00 0.00 1 ProfilerTest#start
- 0.00 0.00 0.00 1 JRuby::Profiler.start
- 0.00 0.00 0.00 1 JRuby::Profiler.clear
- 0.00 0.00 0.00 1 JRuby::Profiler.current_thread_context
- 0.00 0.00 0.00 1 JRuby::Profiler.runtime
- 0.00 0.00 0.00 1 JRuby.runtime
- 0.00 0.00 0.00 1 ProfilerTest#test_instance_method
- 0.00 0.00 0.00 2 Java::OrgJruby::RubyBasicObject#getRuntime
- 0.00 0.00 0.00 1 ProfilerTest.test_static_method
- 0.00 0.00 0.00 2 Java::OrgJrubyInternalRuntime::ThreadService#getCurrentContext
- 0.00 0.00 0.00 2 Java::OrgJruby::Ruby#getThreadService
- 0.00 0.00 0.00 1 JRuby.reference0
- 0.00 0.00 0.00 1 Fixnum#+
- /Users/.../jruby/bin/jruby --profile --1.8 -S rspec spec/profiler/graph_profile_printer_spec.rb spec/profiler/json_profile_printer_spec.rb spec/profiler/profile_data_spec.rb spec/profiler/profiler_basics_spec.rb spec/profiler/runtime_spec.rb failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement