[ruby-cvs:70588] normal:r63497 (trunk): benchmark/bm_*erb*: fix for --measure=size/peak in driver.rb

normal at ruby-lang.org normal at ruby-lang.org
Thu May 24 05:58:47 JST 2018


normal	2018-05-24 05:58:46 +0900 (Thu, 24 May 2018)

  New Revision: 63497

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63497

  Log:
    benchmark/bm_*erb*: fix for --measure=size/peak in driver.rb
    
    benchmark/memory_wrapper.rb will Kernel#load these
    scripts, preventing DATA from being initialized, so
    use heredoc instead.

  Modified files:
    trunk/benchmark/bm_app_erb.rb
    trunk/benchmark/bm_erb_render.rb


More information about the ruby-cvs mailing list