File tree Expand file tree Collapse file tree
src/FirebirdSql.Data.FirebirdClient.Benchmarks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919using BenchmarkDotNet . Diagnosers ;
2020using BenchmarkDotNet . Jobs ;
2121using BenchmarkDotNet . Toolchains . CsProj ;
22+ using BenchmarkDotNet . Toolchains . DotNetCli ;
2223using BenchmarkDotNet . Validators ;
2324
2425namespace FirebirdSql . Data . FirebirdClient . Benchmarks ;
2526
2627class BenchmarkConfig : ManualConfig
2728{
29+ static readonly IToolchain Net100Toolchain =
30+ CsProjCoreToolchain . From ( new NetCoreAppSettings ( "net10.0" , null , ".NET 10" ) ) ;
31+
2832 public BenchmarkConfig ( )
2933 {
3034 var baseJob = Job . Default
3135 . WithWarmupCount ( 3 ) ;
3236
3337 AddJob (
3438 baseJob
35- . WithToolchain ( CsProjCoreToolchain . NetCoreApp80 )
39+ . WithToolchain ( Net100Toolchain )
3640 . WithCustomBuildConfiguration ( "ReleaseNuGet" )
37- . WithId ( "NuGet80 " )
41+ . WithId ( "NuGet100 " )
3842 . AsBaseline ( )
3943 ) ;
4044
4145 AddJob (
4246 baseJob
43- . WithToolchain ( CsProjCoreToolchain . NetCoreApp80 )
47+ . WithToolchain ( Net100Toolchain )
4448 . WithCustomBuildConfiguration ( "Release" )
45- . WithId ( "Core80 " )
49+ . WithId ( "Core100 " )
4650 ) ;
4751
4852 AddDiagnoser ( MemoryDiagnoser . Default ) ;
You can’t perform that action at this time.
0 commit comments