diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 15:12:24 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 15:12:24 +0000 |
commit | 7d79d40c98aae1cba5c235ce2967039d0028d162 (patch) | |
tree | 05fecceef1b49122d9b219ab49a7bb1aa2e3f33c /benchmark/vm1_length.yml | |
parent | e3480929be0d52ec649cdf55ad4f084e4d755572 (diff) | |
download | ruby-7d79d40c98aae1cba5c235ce2967039d0028d162.tar.gz |
benchmark: convert bm_vm1_*.rb to vm1_*.yml
This YAML transformation is needed to support whileloop time substituion
by benchmark_driver.gem later.
This commmit changes no benchmark behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/vm1_length.yml')
-rw-r--r-- | benchmark/vm1_length.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmark/vm1_length.yml b/benchmark/vm1_length.yml new file mode 100644 index 0000000000..030b6c510c --- /dev/null +++ b/benchmark/vm1_length.yml @@ -0,0 +1,11 @@ +benchmark: + vm1_length: | + a = 'abc' + b = [1, 2, 3] + i = 0 + while i<30_000_000 # while loop 1 + i += 1 + a.length + b.length + end +loop_count: 1 |