Skip to content

Commit f2f9fc2

Browse files
committed
tweak revolusions and iterations
1 parent 93e20b0 commit f2f9fc2

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tests/benchmarks/benchmarks/html-api/WpHtmlTagProcessorBench.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public function clean_up_processor(): void {
2424
* @param array{0: string} $params
2525
*/
2626
#[Bench\Warmup( 2 )]
27-
#[Bench\Iterations( 10 )]
28-
#[Bench\Revs( 50 )]
27+
#[Bench\Iterations( 50 )]
28+
#[Bench\Revs( 10 )]
2929
#[Bench\BeforeMethods( 'set_up_script_tag_processor' )]
3030
#[Bench\AfterMethods( 'clean_up_processor' )]
3131
#[Bench\ParamProviders( 'provide_script_tag_contents' )]
@@ -114,8 +114,8 @@ public static function provide_script_tag_contents(): iterable {
114114
* @param array{0: string} $params
115115
*/
116116
#[Bench\Warmup( 2 )]
117-
#[Bench\Iterations( 10 )]
118-
#[Bench\Revs( 10 )]
117+
#[Bench\Iterations( 20 )]
118+
#[Bench\Revs( 5 )]
119119
#[Bench\ParamProviders( 'provide_html' )]
120120
#[Bench\BeforeMethods( 'set_up_html_tag_processor' )]
121121
#[Bench\AfterMethods( 'clean_up_processor' )]
@@ -134,8 +134,8 @@ public function set_up_html_tag_processor( array $params ): void {
134134
* @param array{0: string} $params
135135
*/
136136
#[Bench\Warmup( 2 )]
137-
#[Bench\Iterations( 10 )]
138-
#[Bench\Revs( 5 )]
137+
#[Bench\Iterations( 20 )]
138+
#[Bench\Revs( 3 )]
139139
#[Bench\ParamProviders( 'provide_html' )]
140140
#[Bench\BeforeMethods( 'set_up_html_fragment_processor' )]
141141
#[Bench\AfterMethods( 'clean_up_processor' )]
@@ -154,8 +154,8 @@ public function set_up_html_fragment_processor( array $params ): void {
154154
* @param array{0: string} $params
155155
*/
156156
#[Bench\Warmup( 2 )]
157-
#[Bench\Iterations( 10 )]
158-
#[Bench\Revs( 5 )]
157+
#[Bench\Iterations( 20 )]
158+
#[Bench\Revs( 3 )]
159159
#[Bench\ParamProviders( 'provide_html' )]
160160
#[Bench\BeforeMethods( 'set_up_html_full_parser' )]
161161
#[Bench\AfterMethods( 'clean_up_processor' )]

0 commit comments

Comments
 (0)