@@ -72,33 +72,31 @@ ExampleObject{
72
72
}
73
73
```
74
74
75
- Results:
76
-
77
75
### Denormalization
78
76
79
77
Denormalization: Transformation from raw payload (array) to concrete object.
80
78
81
79
| subject | revs | its | mem_peak | mode | rstdev |
82
80
| -----------------------------| ------| -----| ----------| -----------| --------|
83
81
| benchJmsWithAttributes | 50 | 20 | 4.466mb | 32.151μs | ±1.70% |
84
- | benchValinorWithPhpStan | 50 | 20 | 3.870mb | 119.750μs | ±1.21% |
85
- | benchSymfonyWithPhpStan | 50 | 20 | 3.870mb | 126.807μs | ±1.94% |
86
- | benchSymfonyWithDocBlock | 50 | 20 | 3.870mb | 123.889μs | ±1.35% |
87
82
| benchTypeLangWithDocBlocks | 50 | 20 | 3.870mb | 34.175μs | ±1.61% |
88
83
| benchTypeLangWithAttributes | 50 | 20 | 3.870mb | 34.379μs | ±1.77% |
84
+ | benchValinorWithPhpStan | 50 | 20 | 3.870mb | 119.750μs | ±1.21% |
85
+ | benchSymfonyWithDocBlock | 50 | 20 | 3.870mb | 123.889μs | ±1.35% |
86
+ | benchSymfonyWithPhpStan | 50 | 20 | 3.870mb | 126.807μs | ±1.94% |
89
87
90
88
### Normalization
91
89
92
90
Normalization: Transformation from object to raw payload (array).
93
91
94
92
| subject | revs | its | mem_peak | mode | rstdev |
95
93
| -----------------------------| ------| -----| ----------| ----------| --------|
96
- | benchJmsWithAttributes | 50 | 20 | 3.870mb | 44.614μs | ±1.92% |
97
- | benchValinorWithPhpStan | 50 | 20 | 3.870mb | 38.229μs | ±1.38% |
98
- | benchSymfonyWithPhpStan | 50 | 20 | 3.870mb | 37.050μs | ±1.20% |
99
- | benchSymfonyWithDocBlock | 50 | 20 | 3.870mb | 37.125μs | ±1.50% |
100
94
| benchTypeLangWithDocBlocks | 50 | 20 | 3.870mb | 36.473μs | ±1.69% |
101
95
| benchTypeLangWithAttributes | 50 | 20 | 3.870mb | 36.735μs | ±1.68% |
96
+ | benchSymfonyWithPhpStan | 50 | 20 | 3.870mb | 37.050μs | ±1.20% |
97
+ | benchSymfonyWithDocBlock | 50 | 20 | 3.870mb | 37.125μs | ±1.50% |
98
+ | benchValinorWithPhpStan | 50 | 20 | 3.870mb | 38.229μs | ±1.38% |
99
+ | benchJmsWithAttributes | 50 | 20 | 3.870mb | 44.614μs | ±1.92% |
102
100
103
101
104
102
## Quick Start
0 commit comments