1
0
mirror of synced 2025-02-09 08:49:26 +03:00

CS (alignment)

This commit is contained in:
Marco Pivetta 2016-05-26 20:57:50 +02:00 committed by Luís Cobucci
parent 8774b02c88
commit 0fdcc71887
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C
2 changed files with 24 additions and 24 deletions

View File

@ -36,31 +36,31 @@ final class SimpleQueryArrayHydrationPerformanceBench
$resultSet = [
[
'u__id' => '1',
'u__status' => 'developer',
'u__id' => '1',
'u__status' => 'developer',
'u__username' => 'romanb',
'u__name' => 'Roman',
'u__name' => 'Roman',
],
[
'u__id' => '1',
'u__status' => 'developer',
'u__id' => '1',
'u__status' => 'developer',
'u__username' => 'romanb',
'u__name' => 'Roman',
'u__name' => 'Roman',
],
[
'u__id' => '2',
'u__status' => 'developer',
'u__id' => '2',
'u__status' => 'developer',
'u__username' => 'romanb',
'u__name' => 'Roman',
'u__name' => 'Roman',
]
];
for ($i = 4; $i < 10000; ++$i) {
$resultSet[] = [
'u__id' => $i,
'u__status' => 'developer',
'u__id' => $i,
'u__status' => 'developer',
'u__username' => 'jwage',
'u__name' => 'Jonathan',
'u__name' => 'Jonathan',
];
}

View File

@ -36,31 +36,31 @@ final class SimpleQueryScalarHydrationPerformanceBench
$resultSet = [
[
'u__id' => '1',
'u__status' => 'developer',
'u__id' => '1',
'u__status' => 'developer',
'u__username' => 'romanb',
'u__name' => 'Roman',
'u__name' => 'Roman',
],
[
'u__id' => '1',
'u__status' => 'developer',
'u__id' => '1',
'u__status' => 'developer',
'u__username' => 'romanb',
'u__name' => 'Roman',
'u__name' => 'Roman',
],
[
'u__id' => '2',
'u__status' => 'developer',
'u__id' => '2',
'u__status' => 'developer',
'u__username' => 'romanb',
'u__name' => 'Roman',
'u__name' => 'Roman',
]
];
for ($i = 4; $i < 10000; ++$i) {
$resultSet[] = [
'u__id' => $i,
'u__status' => 'developer',
'u__id' => $i,
'u__status' => 'developer',
'u__username' => 'jwage',
'u__name' => 'Jonathan',
'u__name' => 'Jonathan',
];
}