From 8d473272dbd9f5c6adc518b780eafee3d1f0d6bc Mon Sep 17 00:00:00 2001 From: mrkn Date: Tue, 1 Jan 2019 12:20:04 +0000 Subject: benchmark/complex_float_*.yml: New benchmarks Add new benchmark scripts for binary operations of Complex with float components. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/complex_float_mul.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 benchmark/complex_float_mul.yml (limited to 'benchmark/complex_float_mul.yml') diff --git a/benchmark/complex_float_mul.yml b/benchmark/complex_float_mul.yml new file mode 100644 index 0000000000..59b096a6dc --- /dev/null +++ b/benchmark/complex_float_mul.yml @@ -0,0 +1,7 @@ +prelude: | + max, min = 1000.0, -1000.0 + a = Complex(rand(max)+min, rand(max)+min) + b = Complex(rand(max)+min, rand(max)+min) +benchmark: + complex_float_mul: c = a * b +loop_count: 1000000 -- cgit v1.2.3