Skip to content

Commit 61eb52f

Browse files
committed
:octocat: added QRStringText to output benchmark
1 parent 9ec548f commit 61eb52f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

benchmark/OutputBenchmark.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
use chillerlan\QRCode\Common\Mode;
1515
use chillerlan\QRCode\Data\Byte;
1616
use chillerlan\QRCode\Output\{
17-
QREps, QRFpdf, QRGdImageJPEG, QRGdImagePNG, QRGdImageWEBP, QRImagick, QRMarkupSVG, QRMarkupXML, QRStringJSON
17+
QREps, QRFpdf, QRGdImageJPEG, QRGdImagePNG, QRGdImageWEBP,
18+
QRImagick, QRMarkupSVG, QRMarkupXML, QRStringJSON, QRStringText
1819
};
1920
use PhpBench\Attributes\{BeforeMethods, Subject};
2021

@@ -93,4 +94,9 @@ public function QRStringJSON():void{
9394
new QRStringJSON($this->options, $this->matrix)->dump();
9495
}
9596

97+
#[Subject]
98+
public function QRStringText():void{
99+
new QRStringText($this->options, $this->matrix)->dump();
100+
}
101+
96102
}

0 commit comments

Comments
 (0)