Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. $ ./bin/jruby -S rake spec:profiler
  2. /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
  3. Profiling enabled; ^C shutdown will now dump profile info
  4. Ignoring jruby-launcher-1.0.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.0.19
  5. ....................................FProfiling enabled; ^C shutdown will now dump profile info
  6. Ignoring jruby-launcher-1.0.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.0.19
  7. spec not passed, output:
  8. ...........
  9.  
  10. Finished in 0.122 seconds
  11. 11 examples, 0 failures
  12.  
  13.  
  14. Failures:
  15.  
  16. 1) JRuby's profiling mode reports unimplemneted methods like fork as unimplemented
  17. Failure/Error: Kernel.respond_to?(:fork).should == false
  18. expected: false
  19. got: true (using ==)
  20. # ./spec/profiler/profiler_basics_spec.rb:8:in `(root)'
  21.  
  22. Finished in 2.62 seconds
  23. 38 examples, 1 failure
  24.  
  25. Failed examples:
  26.  
  27. rspec ./spec/profiler/profiler_basics_spec.rb:7 # JRuby's profiling mode reports unimplemneted methods like fork as unimplemented
  28. RSpec::Expectations::ExpectationNotMetError: expected: "true"
  29. got: "0" (using ==)
  30. at :1
  31. at :1
  32. call at org/jruby/RubyProc.java:292
  33. instance_eval at org/jruby/RubyKernel.java:2163
  34. collect at org/jruby/RubyArray.java:2400
  35. collect at org/jruby/RubyArray.java:2400
  36. collect at org/jruby/RubyArray.java:2400
  37. call at org/jruby/RubyProc.java:292
  38. call at org/jruby/RubyProc.java:230
  39.  
  40. main profile results:
  41. Total time: 0.00
  42.  
  43. total self children calls method
  44. ----------------------------------------------------------------
  45. 0.00 0.00 0.00 1 ProfilerTest#start
  46. 0.00 0.00 0.00 1 JRuby::Profiler.start
  47. 0.00 0.00 0.00 1 JRuby::Profiler.clear
  48. 0.00 0.00 0.00 1 JRuby::Profiler.current_thread_context
  49. 0.00 0.00 0.00 1 JRuby::Profiler.runtime
  50. 0.00 0.00 0.00 1 JRuby.runtime
  51. 0.00 0.00 0.00 1 ProfilerTest#test_instance_method
  52. 0.00 0.00 0.00 2 Java::OrgJruby::RubyBasicObject#getRuntime
  53. 0.00 0.00 0.00 1 ProfilerTest.test_static_method
  54. 0.00 0.00 0.00 2 Java::OrgJrubyInternalRuntime::ThreadService#getCurrentContext
  55. 0.00 0.00 0.00 2 Java::OrgJruby::Ruby#getThreadService
  56. 0.00 0.00 0.00 1 JRuby.reference0
  57. 0.00 0.00 0.00 1 Fixnum#+
  58. /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