Don't use global statics where possible by andrewlock · Pull Request #7939 · DataDog/dd-trace-dotnet
.NET Framework 4.8 - Baseline
duration194.72 ± (194.83 - 195.80) ms195.52 ± (195.58 - 196.47) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration199.07 ± (199.00 - 199.87) ms199.09 ± (198.81 - 199.71) ms+0.0%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1124.26 ± (1128.02 - 1138.07) ms1120.91 ± (1124.88 - 1133.15) ms-0.3%✅
.NET Core 3.1 - Baseline
process.internal_duration_ms189.79 ± (189.36 - 190.23) ms189.98 ± (189.54 - 190.42) ms+0.1%✅⬆️
process.time_to_main_ms81.40 ± (81.18 - 81.61) ms81.48 ± (81.28 - 81.69) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%✅
runtime.dotnet.mem.committed16.11 ± (16.09 - 16.14) MB16.09 ± (16.07 - 16.12) MB-0.1%✅
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.4%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms190.10 ± (189.66 - 190.54) ms189.10 ± (188.65 - 189.55) ms-0.5%✅
process.time_to_main_ms82.83 ± (82.65 - 83.01) ms82.47 ± (82.28 - 82.66) ms-0.4%✅
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%✅
runtime.dotnet.mem.committed16.14 ± (16.12 - 16.17) MB16.12 ± (16.10 - 16.14) MB-0.1%✅
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms400.64 ± (397.80 - 403.49) ms396.77 ± (394.38 - 399.17) ms-1.0%✅
process.time_to_main_ms477.07 ± (476.31 - 477.83) ms479.24 ± (478.52 - 479.97) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%✅
runtime.dotnet.mem.committed58.84 ± (58.70 - 58.99) MB58.64 ± (58.50 - 58.78) MB-0.3%✅
runtime.dotnet.threads.count29 ± (29 - 29)30 ± (29 - 30)+0.2%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms194.72 ± (194.27 - 195.16) ms194.23 ± (193.80 - 194.66) ms-0.2%✅
process.time_to_main_ms70.47 ± (70.26 - 70.69) ms70.15 ± (69.97 - 70.34) ms-0.5%✅
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%✅
runtime.dotnet.mem.committed16.36 ± (16.33 - 16.39) MB16.30 ± (16.22 - 16.38) MB-0.4%✅
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.7%✅
.NET 6 - Bailout
process.internal_duration_ms193.53 ± (193.02 - 194.03) ms192.96 ± (192.60 - 193.32) ms-0.3%✅
process.time_to_main_ms71.41 ± (71.24 - 71.57) ms71.10 ± (70.97 - 71.23) ms-0.4%✅
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%✅
runtime.dotnet.mem.committed16.25 ± (16.13 - 16.36) MB16.20 ± (16.07 - 16.33) MB-0.3%✅
runtime.dotnet.threads.count19 ± (19 - 20)20 ± (20 - 20)+2.1%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms415.62 ± (413.17 - 418.07) ms409.37 ± (407.25 - 411.48) ms-1.5%✅
process.time_to_main_ms447.96 ± (447.30 - 448.61) ms449.84 ± (449.20 - 450.48) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%✅
runtime.dotnet.mem.committed59.32 ± (59.22 - 59.43) MB59.04 ± (58.89 - 59.18) MB-0.5%✅
runtime.dotnet.threads.count30 ± (29 - 30)29 ± (29 - 30)-0.0%✅
.NET 8 - Baseline
process.internal_duration_ms192.63 ± (192.22 - 193.04) ms192.70 ± (192.23 - 193.17) ms+0.0%✅⬆️
process.time_to_main_ms70.43 ± (70.19 - 70.66) ms69.83 ± (69.65 - 70.01) ms-0.8%✅
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%✅
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.69) MB11.71 ± (11.69 - 11.73) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.1%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms190.95 ± (190.57 - 191.33) ms192.72 ± (192.23 - 193.20) ms+0.9%✅⬆️
process.time_to_main_ms70.64 ± (70.47 - 70.80) ms71.30 ± (71.12 - 71.48) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%✅
runtime.dotnet.mem.committed11.72 ± (11.70 - 11.74) MB11.79 ± (11.77 - 11.82) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+1.1%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms369.15 ± (367.76 - 370.54) ms368.89 ± (367.52 - 370.27) ms-0.1%✅
process.time_to_main_ms433.08 ± (432.29 - 433.88) ms433.06 ± (432.42 - 433.70) ms-0.0%✅
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%✅
runtime.dotnet.mem.committed47.97 ± (47.94 - 48.00) MB47.98 ± (47.96 - 48.01) MB+0.0%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.6%✅⬆️