From 95a187e0404cc161b3d5690d48ea4ff2a40ceb91 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 8 Jul 2018 15:12:24 +0000 Subject: 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 --- benchmark/vm1_blockparam.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 benchmark/vm1_blockparam.yml (limited to 'benchmark/vm1_blockparam.yml') diff --git a/benchmark/vm1_blockparam.yml b/benchmark/vm1_blockparam.yml new file mode 100644 index 0000000000..7d670f7d82 --- /dev/null +++ b/benchmark/vm1_blockparam.yml @@ -0,0 +1,11 @@ +benchmark: + vm1_blockparam: | + def m &b + end + + i = 0 + while i<30_000_000 # while loop 1 + i += 1 + m{} + end +loop_count: 1 -- cgit v1.2.3