aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/mjit_class.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/mjit_class.yml')
-rw-r--r--benchmark/mjit_class.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmark/mjit_class.yml b/benchmark/mjit_class.yml
new file mode 100644
index 0000000000..22f95c2d4d
--- /dev/null
+++ b/benchmark/mjit_class.yml
@@ -0,0 +1,11 @@
+type: lib/benchmark_driver/runner/mjit
+prelude: |
+ def mjit_class(obj)
+ obj.class
+ end
+
+benchmark:
+ - mjit_class(self)
+ - mjit_class(1)
+
+loop_count: 40000000