summaryrefslogtreecommitdiff
path: root/benchmarks/cmop/all.yml
blob: f0d5758faff3081991b4544d2401bdd75824296f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
- 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 ]