You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimized response rendering time when no sparse fieldset is requested. This relies on the fact that the resource model is frozen after building the resource graph.
| Method | Mean | Error | StdDev |
| ------------------------------------ | -------- | ------- | ------- |
| SerializeOperationsResponse (before) | 168.6 us | 1.74 us | 1.63 us |
| SerializeOperationsResponse (after) | 148.5 us | 1.06 us | 0.99 us |
| SerializeResourceResponse (before) | 123.7 us | 1.12 us | 1.05 us |
| SerializeResourceResponse (after) | 119.6 us | 1.05 us | 0.98 us |
This makes SerializeOperationsResponse 12% faster and SerializeResourceResponse 3% faster. What the benchmark does not show is the performance improvement on subsequent requests, so in practice the gain in higher.
0 commit comments