* [ruby-core:99084] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames()
@ 2020-07-08 8:43 mame
2020-07-28 4:19 ` [ruby-core:99365] " mame
0 siblings, 1 reply; 2+ messages in thread
From: mame @ 2020-07-08 8:43 UTC (permalink / raw)
To: ruby-core
Issue #17018 has been reported by mame (Yusuke Endoh).
----------------------------------------
Feature #17018: Show cfunc frames in rb_profile_frames()
https://bugs.ruby-lang.org/issues/17018
* Author: mame (Yusuke Endoh)
* Status: Open
* Priority: Normal
* Target version: 3.0
----------------------------------------
`rb_profile_frames()`, which is the backend of [stackprof](https://github.com/tmm1/stackprof), shows only ruby frames, so sometimes it is difficult to find a bottleneck in an application.
This will be gradually solved by "rubifying" all builtin methods (#16254), but I guess it will take a few years at least. So, how about showing cfunc frames in the profiled result that returns `rb_profile_frames()`?
Here is a patch and an example stackprof result:
https://github.com/ruby/ruby/pull/3299
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ruby-core:99365] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames()
2020-07-08 8:43 [ruby-core:99084] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames() mame
@ 2020-07-28 4:19 ` mame
0 siblings, 0 replies; 2+ messages in thread
From: mame @ 2020-07-28 4:19 UTC (permalink / raw)
To: ruby-core
Issue #17018 has been updated by mame (Yusuke Endoh).
Status changed from Open to Closed
This ticket was discussed at the dev-meeting; there is no objection, and matz accepted. I've just merged my PR.
----------------------------------------
Feature #17018: Show cfunc frames in rb_profile_frames()
https://bugs.ruby-lang.org/issues/17018#change-86768
* Author: mame (Yusuke Endoh)
* Status: Closed
* Priority: Normal
* Target version: 3.0
----------------------------------------
`rb_profile_frames()`, which is the backend of [stackprof](https://github.com/tmm1/stackprof), shows only ruby frames, so sometimes it is difficult to find a bottleneck in an application.
This will be gradually solved by "rubifying" all builtin methods (#16254), but I guess it will take a few years at least. So, how about showing cfunc frames in the profiled result that returns `rb_profile_frames()`?
Here is a patch and an example stackprof result:
https://github.com/ruby/ruby/pull/3299
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-28 4:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 8:43 [ruby-core:99084] [Ruby master Feature#17018] Show cfunc frames in rb_profile_frames() mame
2020-07-28 4:19 ` [ruby-core:99365] " mame
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).