Merged CMOP into Moose
[gitmo/Moose.git] / benchmarks / cmop / all.yml
diff --git a/benchmarks/cmop/all.yml b/benchmarks/cmop/all.yml
new file mode 100644 (file)
index 0000000..13ec57f
--- /dev/null
@@ -0,0 +1,30 @@
+---
+- name: Point classes
+  classes:
+  - 'MOP::Point'
+  - 'MOP::Point3D'  
+  - 'MOP::Immutable::Point'   
+  - 'MOP::Immutable::Point3D'   
+  - 'MOP::Installed::Point' 
+  - 'MOP::Installed::Point3D'      
+  - 'Plain::Point'
+  - 'Plain::Point3D'  
+  benchmarks:
+    - class: 'Bench::Construct'
+      name: object construction
+      args:
+        y: 137
+    - class: 'Bench::Accessor'
+      name: accessor get
+      construct:
+        x: 4
+        y: 6
+      accessor: x
+    - class: 'Bench::Accessor'
+      name: accessor set
+      construct:
+        x: 4
+        y: 6
+      accessor: x
+      accessor_args: [ 5 ]
+