-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Run Information
| Architecture | arm64 |
|---|---|
| OS | ubuntu 18.04 |
| Baseline | 3dc3ebaa245af922042520f7d095fb80070f5e31 |
| Compare | edd359716c2096274e656d26ed8945d99afc2da5 |
| Diff | Diff |
Improvements in System.Text.Json.Serialization.Tests.WriteJson<BinaryData>
| Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio | Baseline ETL | Compare ETL |
|---|---|---|---|---|---|---|---|---|---|---|
| SerializeToString - Duration of single invocation | 2.65 μs | 2.17 μs | 0.82 | 0.48 | False | |||||
| SerializeToUtf8Bytes - Duration of single invocation | 3.56 μs | 1.56 μs | 0.44 | 0.48 | False |
Repro
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net6.0 --filter 'System.Text.Json.Serialization.Tests.WriteJson<BinaryData>*'Payloads
Histogram
System.Text.Json.Serialization.Tests.WriteJson<BinaryData>.SerializeToString
Description of detection logic
IsImprovementBase: Marked as improvement because the compare was 5% less than the baseline, and the value was not too small.
IsImprovementCheck: Marked as improvement because the three check build points were 0.05 less than the baseline.
IsRegressionBase: Marked as not a regression because the compare was not 5% greater than the baseline, or the value was too small.
IsImprovementBase: Marked as improvement because the compare was 5% less than the baseline, and the value was not too small.
IsImprovementCheck: Marked as improvement because the three check build points were 0.05 less than the baseline.
IsImprovementWindowed:Marked as improvement because 2.1716746313202244 < 2.5993002984665243.
IsChangePoint: Marked as a change because one of 3/11/2022 4:59:21 AM, 6/20/2022 1:54:42 AM, 6/23/2022 3:07:42 AM falls between 6/14/2022 10:05:19 AM and 6/23/2022 3:07:42 AM.
IsImprovementStdDev: Marked as improvement because 28.037667062232355 (T) = (0 -2169.7263965390225) / Math.Sqrt((404785.91147036967 / (299)) + (5621.5978341768305 / (12))) is greater than 1.9676708853560316 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (299) + (12) - 2, .975) and 0.35551374188895535 = (3366.5983862842577 - 2169.7263965390225) / 3366.5983862842577 is greater than 0.05.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
```#### System.Text.Json.Serialization.Tests.WriteJson<BinaryData>.SerializeToUtf8Bytes
```log
Description of detection logic
IsImprovementBase: Marked as improvement because the compare was 5% less than the baseline, and the value was not too small.
IsImprovementCheck: Marked as improvement because the three check build points were 0.05 less than the baseline.
IsRegressionBase: Marked as not a regression because the compare was not 5% greater than the baseline, or the value was too small.
IsImprovementBase: Marked as improvement because the compare was 5% less than the baseline, and the value was not too small.
IsImprovementCheck: Marked as improvement because the three check build points were 0.05 less than the baseline.
IsImprovementWindowed:Marked as improvement because 1.5562040070651466 < 2.034851894588265.
IsChangePoint: Marked as a change because one of 6/20/2022 8:00:57 AM, 6/23/2022 3:07:42 AM falls between 6/14/2022 10:05:19 AM and 6/23/2022 3:07:42 AM.
IsImprovementStdDev: Marked as improvement because 31.079486084290764 (T) = (0 -1599.4920320319513) / Math.Sqrt((432577.0563345361 / (299)) + (2329.484115982816 / (11))) is greater than 1.9676960046166507 = MathNet.Numerics.Distributions.StudentT.InvCDF(0, 1, (299) + (11) - 2, .975) and 0.4417522278042105 = (2865.2009227740814 - 1599.4920320319513) / 2865.2009227740814 is greater than 0.05.
IsChangeEdgeDetector: Marked not as a regression because Edge Detector said so.
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
_1.png)
_2.png)