[ruby-cvs:61219] ko1:r54060 (trunk): * benchmark/driver.rb: support memory usage benchmark.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Mar 9 16:22:27 JST 2016


ko1	2016-03-09 16:22:27 +0900 (Wed, 09 Mar 2016)

  New Revision: 54060

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

  Log:
    * benchmark/driver.rb: support memory usage benchmark.
      use `--measure-target=[target]'.
      Now, we can use the following targets:
        * real (default): real time which returns process time in sec.
        * peak: peak memory usage (physical memory) in bytes.
        * size: last memory usage (physical memory) in bytes.
    
    * benchmark/memory_wrapper.rb: ditto.

  Added files:
    trunk/benchmark/memory_wrapper.rb
  Modified files:
    trunk/ChangeLog
    trunk/benchmark/driver.rb


More information about the ruby-cvs mailing list