From 7d79d40c98aae1cba5c235ce2967039d0028d162 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_not.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 benchmark/vm1_not.yml (limited to 'benchmark/vm1_not.yml') diff --git a/benchmark/vm1_not.yml b/benchmark/vm1_not.yml new file mode 100644 index 0000000000..a38dfc7343 --- /dev/null +++ b/benchmark/vm1_not.yml @@ -0,0 +1,10 @@ +benchmark: + vm1_not: | + i = 0 + obj = Object.new + + while i<30_000_000 # while loop 1 + i += 1 + !obj + end +loop_count: 1 -- cgit v1.2.3