diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-09 07:22:27 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-09 07:22:27 +0000 |
commit | 61aa2685d3ccfd500a2cbbed258d003ed1771d31 (patch) | |
tree | 8be9bda288ff4943d8d1d383a80c2a952b02d41c /benchmark/prepare_so_count_words.rb | |
parent | 2d3a6ba66db795f7bfef1e9afad910b83618d91d (diff) |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/prepare_so_count_words.rb')
0 files changed, 0 insertions, 0 deletions