We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ba5d21 + aec9d00 commit 2aeb4ceCopy full SHA for 2aeb4ce
2 files changed
src/Data/MetricData.php
@@ -0,0 +1,13 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+namespace DragonCode\Benchmark\Data;
6
7
+readonly class MetricData
8
+{
9
+ public function __construct(
10
+ public float $time,
11
+ public float $memory,
12
+ ) {}
13
+}
src/Data/ResultData.php
@@ -0,0 +1,15 @@
+readonly class ResultData
+ public MetricData $min,
+ public MetricData $max,
+ public MetricData $avg,
+ public MetricData $total,
14
15
0 commit comments