Feature #7473

new events for TracePoint thread_begin/end, b_call/b_end

Added by Koichi Sasada over 1 year ago. Updated about 1 year ago.

[ruby-core:50346]
Status:Closed
Priority:Normal
Assignee:Koichi Sasada
Category:core
Target version:2.0.0

Description

On the trunk, there are new 4 events for TracePoint.

* vm_trace.c: add events
  * :thread_begin - hook at thread beggining.
  * :thead_end - hook at thread ending.
  * :b_call - hook at block enter.
  * :b_return - hook at block leave.
  This change slow down block invocation.
  Please try and give us feedback until 2.0 code freeze.

bcall and breturn are proposed at [Feature #6649].

On my environment, bcall/breturn cause 15% speed-down with
null block invocation micro-benchmark.

Please try and give us feedback.
It is easy to revert until code freeze.

History

#1 Updated by Koichi Sasada over 1 year ago

  • Status changed from Open to Feedback

No feedback.

#2 Updated by Koichi Sasada about 1 year ago

  • Status changed from Feedback to Closed

No feedback and it is already in rc2.

Also available in: Atom PDF