lib/stackprof.rb in stackprof-0.2.19 vs lib/stackprof.rb in stackprof-0.2.20
- old
+ new
@@ -1,8 +1,12 @@
require "stackprof/stackprof"
+if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
+ StackProf.use_postponed_job!
+end
+
module StackProf
- VERSION = '0.2.19'
+ VERSION = '0.2.20'
end
StackProf.autoload :Report, "stackprof/report.rb"
StackProf.autoload :Middleware, "stackprof/middleware.rb"