Skip to content

Commit cfda9b9

Browse files
committed
Update benchmark results format in beta-testo
1 parent f636710 commit cfda9b9

2 files changed

Lines changed: 18 additions & 14 deletions

File tree

blog/beta-testo.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,15 @@ function viaShift(int $a, int $b): int
229229
```
230230
231231
```
232-
+---+----------+-------+---------+------------------+--------+
233-
| # | Name | Iters | Calls | Avg Time | RStDev |
234-
+---+----------+-------+---------+------------------+--------+
235-
| 2 | current | 10 | 2000000 | 75.890µs | ±0.79% |
236-
| 3 | multiply | 10 | 2000000 | 78.821µs (+3.9%) | ±0.47% |
237-
| 1 | shift | 10 | 2000000 | 70.559µs (-7.0%) | ±0.70% |
238-
+---+----------+-------+---------+------------------+--------+
232+
Results for viaDivision:
233+
+----------------------------+--------------------------------------------+---------+
234+
| BENCHMARK SETUP | TIME RESULTS | SUMMARY |
235+
| Name | Iters | Calls | Mean | Median | RStDev | Place |
236+
+----------+-------+---------+-----------------+-----------------+--------+---------+
237+
| current | 10 | 2000000 | 76.04ns | 75.88ns | ±1.14% | 2nd |
238+
| multiply | 10 | 2000000 | 78.60ns (+3.4%) | 78.79ns (+3.8%) | ±1.18% | 3rd |
239+
| shift | 10 | 2000000 | 70.60ns (-7.2%) | 70.66ns (-6.9%) | ±1.70% | 1st |
240+
+----------+-------+---------+-----------------+-----------------+--------+---------+
239241
```
240242
241243
## Interested?

ru/blog/beta-testo.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,15 @@ function viaShift(int $a, int $b): int
229229
```
230230
231231
```
232-
+---+----------+-------+---------+------------------+--------+
233-
| # | Name | Iters | Calls | Avg Time | RStDev |
234-
+---+----------+-------+---------+------------------+--------+
235-
| 2 | current | 10 | 2000000 | 75.890µs | ±0.79% |
236-
| 3 | multiply | 10 | 2000000 | 78.821µs (+3.9%) | ±0.47% |
237-
| 1 | shift | 10 | 2000000 | 70.559µs (-7.0%) | ±0.70% |
238-
+---+----------+-------+---------+------------------+--------+
232+
Results for viaDivision:
233+
+----------------------------+--------------------------------------------+---------+
234+
| BENCHMARK SETUP | TIME RESULTS | SUMMARY |
235+
| Name | Iters | Calls | Mean | Median | RStDev | Place |
236+
+----------+-------+---------+-----------------+-----------------+--------+---------+
237+
| current | 10 | 2000000 | 76.04ns | 75.88ns | ±1.14% | 2nd |
238+
| multiply | 10 | 2000000 | 78.60ns (+3.4%) | 78.79ns (+3.8%) | ±1.18% | 3rd |
239+
| shift | 10 | 2000000 | 70.60ns (-7.2%) | 70.66ns (-6.9%) | ±1.70% | 1st |
240+
+----------+-------+---------+-----------------+-----------------+--------+---------+
239241
```
240242
241243
## Интересно?

0 commit comments

Comments
 (0)