ko1 / atdot.net wrote:
> https://bugs.ruby-lang.org/issues/14857
> Collected information:
> 
> * gen (GC count at allocation)
> * file (C file name)
> * line (C line number at the file)

Btw, I posted a complementary idea, "mwrap" posted to ruby-talk
to find malloc-heavy callsites in Ruby.

	http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/439240
	https://80x24.org/mwrap-public/20180702120050.GA24029@dcvr/

Output for:

	MWRAP=dump_path:m.log mwrap make gcbench-rdoc
	sort -k1,1rn <m.log | $PAGER

# columns: total_bytes  call_count   location

       787753584       206574 /path/to/ruby/lib/rdoc/markup/parser.rb:325
       419077712      4322703 /path/to/ruby/lib/rdoc/token_stream.rb:78
       245292080      1972374 /path/to/ruby/lib/rdoc/parser/ripper_state_lex.rb:309
       219152913         3635 /path/to/ruby/lib/rdoc/parser/c.rb:672
       146874840       297353 /path/to/ruby/d/.ext/common/ripper/lexer.rb:79
       106798792      1404493 /path/to/ruby/lib/rdoc/comment.rb:145
       106518566      1343785 /path/to/ruby/lib/rdoc/parser/c.rb:1094
	...

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>