Bump timeit to 0.1.21#6059
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: Execution-time benchmarks measure the whole time it takes to execute a program. And are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are shown in red. The following thresholds were used for comparing the execution times:
Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard. Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6059) - mean (70ms) : 68, 71
. : milestone, 70,
master - mean (70ms) : 67, 73
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6059) - mean (1,098ms) : 1074, 1122
. : milestone, 1098,
master - mean (1,105ms) : 1081, 1128
. : milestone, 1105,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6059) - mean (108ms) : 106, 111
. : milestone, 108,
master - mean (108ms) : 105, 112
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6059) - mean (762ms) : 747, 777
. : milestone, 762,
master - mean (781ms) : 760, 802
. : milestone, 781,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6059) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 94
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6059) - mean (721ms) : 707, 734
. : milestone, 721,
master - mean (731ms) : 711, 750
. : milestone, 731,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6059) - mean (190ms) : 188, 192
. : milestone, 190,
master - mean (191ms) : 187, 196
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6059) - mean (1,196ms) : 1174, 1217
. : milestone, 1196,
master - mean (1,198ms) : 1167, 1229
. : milestone, 1198,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6059) - mean (276ms) : 273, 280
. : milestone, 276,
master - mean (277ms) : 273, 282
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6059) - mean (936ms) : 919, 952
. : milestone, 936,
master - mean (949ms) : 934, 964
. : milestone, 949,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6059) - mean (267ms) : 255, 279
. : milestone, 267,
master - mean (265ms) : 262, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6059) - mean (925ms) : 902, 947
. : milestone, 925,
master - mean (930ms) : 908, 953
. : milestone, 930,
|
Throughput/Crank Report ⚡Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6059) (11.006M) : 0, 11005987
master (11.059M) : 0, 11058767
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (6059) (7.285M) : 0, 7284765
master (7.245M) : 0, 7244717
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.582M) : 0, 7581684
section Manual
master (11.225M) : 0, 11225037
section Manual + Automatic
This PR (6059) (6.859M) : 0, 6858950
master (6.771M) : 0, 6770863
section DD_TRACE_ENABLED=0
master (10.172M) : 0, 10172171
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6059) (9.545M) : 0, 9545033
master (9.615M) : 0, 9614758
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (6059) (6.686M) : 0, 6686429
master (6.423M) : 0, 6422979
section Trace stats
master (6.857M) : 0, 6856937
section Manual
master (9.533M) : 0, 9533237
section Manual + Automatic
This PR (6059) (6.152M) : 0, 6152039
master (6.169M) : 0, 6169272
section DD_TRACE_ENABLED=0
master (9.020M) : 0, 9019554
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6059) (10.355M) : 0, 10355393
master (10.029M) : 0, 10028834
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (6059) (6.570M) : 0, 6570479
master (6.718M) : 0, 6718458
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Trace stats
master (7.357M) : 0, 7356722
section Manual
master (9.593M) : 0, 9592818
section Manual + Automatic
This PR (6059) (6.094M) : 0, 6093874
master (5.832M) : 0, 5832157
section DD_TRACE_ENABLED=0
master (9.017M) : 0, 9016737
|
Benchmarks Report for tracer 🐌Benchmarks for #6059 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Fewer allocations 🎉
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.73 KB | 41.5 KB | -233 B | -0.56% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 569μs | 2.21μs | 8.55μs | 0.546 | 0 | 0 | 41.73 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 698μs | 3.88μs | 25.5μs | 0.331 | 0 | 0 | 41.79 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 890μs | 2.96μs | 11.1μs | 8.45 | 2.53 | 0.422 | 53.3 KB |
| #6059 | WriteAndFlushEnrichedTraces |
net6.0 | 563μs | 3.23μs | 25μs | 0.607 | 0 | 0 | 41.5 KB |
| #6059 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 680μs | 3.46μs | 16.2μs | 0.332 | 0 | 0 | 41.73 KB |
| #6059 | WriteAndFlushEnrichedTraces |
net472 | 871μs | 4.11μs | 15.9μs | 8.68 | 2.6 | 0.434 | 53.31 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteNonQuery |
net6.0 | 1.27μs | 1.67ns | 6.25ns | 0.0139 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 1.78μs | 1.3ns | 4.85ns | 0.0133 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.02μs | 1.56ns | 5.82ns | 0.156 | 0 | 0 | 987 B |
| #6059 | ExecuteNonQuery |
net6.0 | 1.2μs | 1.42ns | 5.51ns | 0.0145 | 0 | 0 | 1.02 KB |
| #6059 | ExecuteNonQuery |
netcoreapp3.1 | 1.72μs | 2.2ns | 8.53ns | 0.0137 | 0 | 0 | 1.02 KB |
| #6059 | ExecuteNonQuery |
net472 | 2.1μs | 1.11ns | 3.99ns | 0.157 | 0 | 0 | 987 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | CallElasticsearch |
net6.0 | 1.13μs | 1.14ns | 4.28ns | 0.014 | 0 | 0 | 976 B |
| master | CallElasticsearch |
netcoreapp3.1 | 1.52μs | 0.718ns | 2.78ns | 0.0137 | 0 | 0 | 976 B |
| master | CallElasticsearch |
net472 | 2.6μs | 1.69ns | 6.34ns | 0.158 | 0 | 0 | 995 B |
| master | CallElasticsearchAsync |
net6.0 | 1.27μs | 1.19ns | 4.62ns | 0.0133 | 0 | 0 | 952 B |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 1.58μs | 0.663ns | 2.57ns | 0.0142 | 0 | 0 | 1.02 KB |
| master | CallElasticsearchAsync |
net472 | 2.66μs | 1.27ns | 4.9ns | 0.166 | 0 | 0 | 1.05 KB |
| #6059 | CallElasticsearch |
net6.0 | 1.24μs | 0.82ns | 3.07ns | 0.0138 | 0 | 0 | 976 B |
| #6059 | CallElasticsearch |
netcoreapp3.1 | 1.53μs | 1.31ns | 4.89ns | 0.013 | 0 | 0 | 976 B |
| #6059 | CallElasticsearch |
net472 | 2.5μs | 11.1ns | 42.8ns | 0.158 | 0 | 0 | 995 B |
| #6059 | CallElasticsearchAsync |
net6.0 | 1.34μs | 1.33ns | 5.17ns | 0.0133 | 0 | 0 | 952 B |
| #6059 | CallElasticsearchAsync |
netcoreapp3.1 | 1.66μs | 0.606ns | 2.1ns | 0.0133 | 0 | 0 | 1.02 KB |
| #6059 | CallElasticsearchAsync |
net472 | 2.64μs | 2.88ns | 10.8ns | 0.167 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net6.0 | 1.23μs | 0.55ns | 2.06ns | 0.0131 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 1.58μs | 0.525ns | 1.89ns | 0.0127 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 1.75μs | 0.736ns | 2.85ns | 0.145 | 0 | 0 | 915 B |
| #6059 | ExecuteAsync |
net6.0 | 1.22μs | 0.845ns | 3.16ns | 0.0136 | 0 | 0 | 952 B |
| #6059 | ExecuteAsync |
netcoreapp3.1 | 1.66μs | 1.31ns | 5.07ns | 0.0124 | 0 | 0 | 952 B |
| #6059 | ExecuteAsync |
net472 | 1.79μs | 0.831ns | 3.11ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net6.0 | 4.22μs | 2.06ns | 7.72ns | 0.0317 | 0 | 0 | 2.22 KB |
| master | SendAsync |
netcoreapp3.1 | 5.07μs | 2.6ns | 10.1ns | 0.038 | 0 | 0 | 2.76 KB |
| master | SendAsync |
net472 | 7.78μs | 1.74ns | 6.74ns | 0.498 | 0 | 0 | 3.15 KB |
| #6059 | SendAsync |
net6.0 | 4.21μs | 1.84ns | 6.87ns | 0.0315 | 0 | 0 | 2.22 KB |
| #6059 | SendAsync |
netcoreapp3.1 | 5.17μs | 1.87ns | 7.23ns | 0.0362 | 0 | 0 | 2.76 KB |
| #6059 | SendAsync |
net472 | 7.8μs | 2.19ns | 8.47ns | 0.499 | 0 | 0 | 3.15 KB |
Benchmarks.Trace.ILoggerBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6059
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net6.0
1.134
1,587.33
1,399.97
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net6.0 | 1.134 | 1,587.33 | 1,399.97 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 1.59μs | 0.915ns | 3.54ns | 0.0231 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.25μs | 1.18ns | 4.41ns | 0.0226 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
net472 | 2.57μs | 0.896ns | 3.47ns | 0.249 | 0 | 0 | 1.57 KB |
| #6059 | EnrichedLog |
net6.0 | 1.4μs | 0.525ns | 1.97ns | 0.0231 | 0 | 0 | 1.64 KB |
| #6059 | EnrichedLog |
netcoreapp3.1 | 2.28μs | 2.37ns | 8.88ns | 0.0216 | 0 | 0 | 1.64 KB |
| #6059 | EnrichedLog |
net472 | 2.59μs | 0.879ns | 3.4ns | 0.249 | 0 | 0 | 1.57 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 115μs | 218ns | 815ns | 0 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
netcoreapp3.1 | 118μs | 212ns | 820ns | 0 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
net472 | 146μs | 223ns | 865ns | 0.659 | 0.22 | 0 | 4.46 KB |
| #6059 | EnrichedLog |
net6.0 | 115μs | 222ns | 861ns | 0.0574 | 0 | 0 | 4.28 KB |
| #6059 | EnrichedLog |
netcoreapp3.1 | 118μs | 154ns | 597ns | 0.0585 | 0 | 0 | 4.28 KB |
| #6059 | EnrichedLog |
net472 | 147μs | 100ns | 387ns | 0.661 | 0.22 | 0 | 4.46 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 3.1μs | 2.34ns | 9.08ns | 0.031 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.24μs | 1.14ns | 4.26ns | 0.0292 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
net472 | 4.91μs | 2.12ns | 8.21ns | 0.319 | 0 | 0 | 2.02 KB |
| #6059 | EnrichedLog |
net6.0 | 3.11μs | 1.91ns | 7.14ns | 0.0312 | 0 | 0 | 2.2 KB |
| #6059 | EnrichedLog |
netcoreapp3.1 | 4.36μs | 1.23ns | 4.62ns | 0.0282 | 0 | 0 | 2.2 KB |
| #6059 | EnrichedLog |
net472 | 4.83μs | 1.35ns | 5.22ns | 0.319 | 0 | 0 | 2.02 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net6.0 | 1.35μs | 1.74ns | 6.73ns | 0.0161 | 0 | 0 | 1.14 KB |
| master | SendReceive |
netcoreapp3.1 | 1.77μs | 0.766ns | 2.97ns | 0.015 | 0 | 0 | 1.14 KB |
| master | SendReceive |
net472 | 2.07μs | 0.853ns | 3.31ns | 0.183 | 0 | 0 | 1.16 KB |
| #6059 | SendReceive |
net6.0 | 1.33μs | 0.407ns | 1.52ns | 0.0159 | 0 | 0 | 1.14 KB |
| #6059 | SendReceive |
netcoreapp3.1 | 1.7μs | 1.25ns | 4.83ns | 0.0155 | 0 | 0 | 1.14 KB |
| #6059 | SendReceive |
net472 | 2.06μs | 0.75ns | 2.81ns | 0.183 | 0 | 0 | 1.16 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 2.58μs | 0.882ns | 3.41ns | 0.022 | 0 | 0 | 1.6 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.89μs | 5.3ns | 20.5ns | 0.0215 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
net472 | 4.34μs | 0.938ns | 3.63ns | 0.322 | 0 | 0 | 2.04 KB |
| #6059 | EnrichedLog |
net6.0 | 2.82μs | 1.09ns | 4.21ns | 0.0225 | 0 | 0 | 1.6 KB |
| #6059 | EnrichedLog |
netcoreapp3.1 | 3.96μs | 1.66ns | 6.21ns | 0.0218 | 0 | 0 | 1.65 KB |
| #6059 | EnrichedLog |
net472 | 4.49μs | 1.93ns | 7.46ns | 0.323 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6059
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472
1.124
623.92
701.02
Faster 🎉 in #6059
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.202
569.16
473.36
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
1.137
662.43
582.83
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472 | 1.124 | 623.92 | 701.02 |
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.202 | 569.16 | 473.36 | |
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.137 | 662.43 | 582.83 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 396ns | 0.312ns | 1.21ns | 0.00801 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 662ns | 0.666ns | 2.58ns | 0.00792 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 624ns | 0.728ns | 2.82ns | 0.0918 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 569ns | 0.591ns | 2.29ns | 0.00969 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 684ns | 0.602ns | 2.33ns | 0.00936 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 811ns | 0.856ns | 3.31ns | 0.104 | 0 | 0 | 658 B |
| #6059 | StartFinishSpan |
net6.0 | 395ns | 0.116ns | 0.434ns | 0.00812 | 0 | 0 | 576 B |
| #6059 | StartFinishSpan |
netcoreapp3.1 | 584ns | 1.39ns | 5.01ns | 0.00776 | 0 | 0 | 576 B |
| #6059 | StartFinishSpan |
net472 | 701ns | 0.326ns | 1.26ns | 0.0916 | 0 | 0 | 578 B |
| #6059 | StartFinishScope |
net6.0 | 473ns | 0.111ns | 0.43ns | 0.00978 | 0 | 0 | 696 B |
| #6059 | StartFinishScope |
netcoreapp3.1 | 683ns | 0.314ns | 1.13ns | 0.00931 | 0 | 0 | 696 B |
| #6059 | StartFinishScope |
net472 | 839ns | 0.591ns | 2.29ns | 0.105 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6059
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.177
753.00
639.90
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.177 | 753.00 | 639.90 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 753ns | 0.555ns | 2.15ns | 0.00982 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 908ns | 0.796ns | 3.08ns | 0.0095 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.07μs | 0.911ns | 3.53ns | 0.104 | 0 | 0 | 658 B |
| #6059 | RunOnMethodBegin |
net6.0 | 640ns | 0.269ns | 1.04ns | 0.0097 | 0 | 0 | 696 B |
| #6059 | RunOnMethodBegin |
netcoreapp3.1 | 908ns | 1.23ns | 4.77ns | 0.00953 | 0 | 0 | 696 B |
| #6059 | RunOnMethodBegin |
net472 | 1.14μs | 0.598ns | 2.31ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
Bumping timeit to version 0.1.21, also adding a script to timeit to remove the logs generated by the tracer before running each scenario.
The PR also bumps the number of iteration to check if we can reduce the error of the metrics.
The PR also adds a new configuration file for net8.0
Reason for change
On the benchmark dashboard we can see some unexplained bumps on the same commit (increasing duration on startup and thread count) when using the tracer. We are trying to stabilize the values by removing the logs to avoid the rollup logics from the logs on startup.
Implementation details
The new version of timeit has support for executing commands before any timeit event. We added a new remove_logs.cmd script to run it before each scenario start and after each execution the target process.