[ruby-cvs:67474] k0kubun:r60293 (trunk): erb.rb: specify frozen_string_literal: true

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sun Oct 22 00:02:46 JST 2017

k0kubun	2017-10-22 00:02:46 +0900 (Sun, 22 Oct 2017)

  New Revision: 60293


    erb.rb: specify frozen_string_literal: true
    for compilation performance.
    $ ruby ./benchmark/driver.rb -e "trunk::/Users/k0kubun/.rbenv/versions/trunk/bin/ruby;modified::/Users/k0kubun/.rbenv/versions/modified/bin/ruby" -d ./benchmark -p app_erb
    benchmark results:
    Execution time (sec)
    name    trunk   modified
    app_erb 1.911      1.885
    Speedup ratio: compare with the result of `trunk' (greater is better)
    name    modified
    app_erb    1.014

  Modified files:

More information about the ruby-cvs mailing list