Forum: Ruby-core [ruby-trunk - Feature #7473][Open] new events for TracePoint thread_begin/end, b_call/b_end

Posted by ko1 (Koichi Sasada) (Guest)
on 2012-11-30 01:25
(Received via mailing list)
Issue #7473 has been reported by ko1 (Koichi Sasada).

----------------------------------------
Feature #7473: new events for TracePoint thread_begin/end, b_call/b_end
https://bugs.ruby-lang.org/issues/7473

Author: ko1 (Koichi Sasada)
Status: Open
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0


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.

b_call and b_return are proposed at [Feature #6649].

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

Please try and give us feedback.
It is easy to revert until code freeze.
Posted by ko1 (Koichi Sasada) (Guest)
on 2012-12-19 23:47
(Received via mailing list)
Issue #7473 has been updated by ko1 (Koichi Sasada).

Status changed from Open to Feedback

No feedback.
----------------------------------------
Feature #7473: new events for TracePoint thread_begin/end, b_call/b_end
https://bugs.ruby-lang.org/issues/7473#change-34874

Author: ko1 (Koichi Sasada)
Status: Feedback
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0


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.

b_call and b_return are proposed at [Feature #6649].

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

Please try and give us feedback.
It is easy to revert until code freeze.
Posted by ko1 (Koichi Sasada) (Guest)
on 2013-02-13 07:58
(Received via mailing list)
Issue #7473 has been updated by ko1 (Koichi Sasada).

Status changed from Feedback to Closed

No feedback and it is already in rc2.

----------------------------------------
Feature #7473: new events for TracePoint thread_begin/end, b_call/b_end
https://bugs.ruby-lang.org/issues/7473#change-36204

Author: ko1 (Koichi Sasada)
Status: Closed
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0


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.

b_call and b_return are proposed at [Feature #6649].

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

Please try and give us feedback.
It is easy to revert until code freeze.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.