# OverheadBenchmark
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-79)</span>

Default benchmark for measuring synchronous overhead.


```pony
class iso OverheadBenchmark is
  MicroBenchmark iso
```

#### Implements

* [MicroBenchmark](pony_bench-MicroBenchmark.md) iso

---

## Constructors

### create
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-79)</span>


```pony
new iso create()
: OverheadBenchmark iso^
```

#### Returns

* [OverheadBenchmark](pony_bench-OverheadBenchmark.md) iso^

---

## Public Functions

### name
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-83)</span>


```pony
fun box name()
: String val
```

#### Returns

* [String](builtin-String.md) val

---

### apply
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-86)</span>


```pony
fun ref apply()
: None val
```

#### Returns

* [None](builtin-None.md) val

---

### config
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-20)</span>


```pony
fun box config()
: BenchConfig val
```

#### Returns

* [BenchConfig](pony_bench-BenchConfig.md) val

---

### overhead
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-21)</span>


```pony
fun box overhead()
: MicroBenchmark iso^
```

#### Returns

* [MicroBenchmark](pony_bench-MicroBenchmark.md) iso^

---

### before
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-22)</span>


```pony
fun ref before()
: None val ?
```

#### Returns

* [None](builtin-None.md) val ?

---

### before_iteration
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-23)</span>


```pony
fun ref before_iteration()
: None val ?
```

#### Returns

* [None](builtin-None.md) val ?

---

### after
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-25)</span>


```pony
fun ref after()
: None val ?
```

#### Returns

* [None](builtin-None.md) val ?

---

### after_iteration
<span class="source-link">[[Source]](src/pony_bench/benchmark.md#L-0-26)</span>


```pony
fun ref after_iteration()
: None val ?
```

#### Returns

* [None](builtin-None.md) val ?

---

