Skip to content

Commit d7d7039

Browse files
author
Kirill Nesmeyanov
committed
Reorganize bench order
1 parent 56230a0 commit d7d7039

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

tests/Bench/DenormalizationBench.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,6 @@ public function prepare(): void
101101
]));
102102
}
103103

104-
public function benchTypeLangDocBlock(): void
105-
{
106-
$this->typeLangDocBlock->denormalize(self::PAYLOAD, ExampleRequestDTO::class);
107-
}
108-
109-
public function benchTypeLangAttributes(): void
110-
{
111-
$this->typeLangDocBlock->denormalize(self::PAYLOAD, ExampleRequestDTO::class);
112-
}
113-
114104
public function benchJms(): void
115105
{
116106
$this->jms->fromArray(self::PAYLOAD, ExampleRequestDTO::class);
@@ -130,4 +120,14 @@ public function benchSymfonyDocBlock(): void
130120
{
131121
$this->symfonyDocBlock->denormalize(self::PAYLOAD, ExampleRequestDTO::class);
132122
}
123+
124+
public function benchTypeLangDocBlock(): void
125+
{
126+
$this->typeLangDocBlock->denormalize(self::PAYLOAD, ExampleRequestDTO::class);
127+
}
128+
129+
public function benchTypeLangAttributes(): void
130+
{
131+
$this->typeLangDocBlock->denormalize(self::PAYLOAD, ExampleRequestDTO::class);
132+
}
133133
}

tests/Bench/NormalizationBench.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,6 @@ public function prepare(): void
105105
]));
106106
}
107107

108-
public function benchTypeLangDocBlock(): void
109-
{
110-
$this->typeLangDocBlock->normalize($this->payload);
111-
}
112-
113-
public function benchTypeLangAttributes(): void
114-
{
115-
$this->typeLangDocBlock->normalize($this->payload);
116-
}
117-
118108
public function benchJms(): void
119109
{
120110
$this->jms->toArray($this->payload, type: ExampleRequestDTO::class);
@@ -134,4 +124,14 @@ public function benchSymfonyDocBlock(): void
134124
{
135125
$this->symfonyDocBlock->normalize($this->payload);
136126
}
127+
128+
public function benchTypeLangDocBlock(): void
129+
{
130+
$this->typeLangDocBlock->normalize($this->payload);
131+
}
132+
133+
public function benchTypeLangAttributes(): void
134+
{
135+
$this->typeLangDocBlock->normalize($this->payload);
136+
}
137137
}

0 commit comments

Comments
 (0)