File tree Expand file tree Collapse file tree
src/EFCore.Cassandra.Benchmarks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using BenchmarkDotNet . Attributes ;
2+ using BenchmarkDotNet . Configs ;
3+ using BenchmarkDotNet . Diagnosers ;
4+ using BenchmarkDotNet . Environments ;
5+ using BenchmarkDotNet . Jobs ;
6+
7+ namespace EFCore . Cassandra . Benchmarks
8+ {
9+ [ Config ( typeof ( CassandraBenchmarkConfig ) ) ]
10+ public class CassandraBenchmarkConfig : ManualConfig
11+ {
12+ public CassandraBenchmarkConfig ( )
13+ {
14+ AddJob (
15+ Job . Default
16+ . WithPlatform ( Platform . X64 )
17+ . WithJit ( Jit . RyuJit )
18+ . WithRuntime ( CoreRuntime . Core31 )
19+ . WithWarmupCount ( 1 )
20+ . WithIterationCount ( 3 )
21+ . WithId ( "Cassandra benchmark config" ) ) ;
22+
23+ AddDiagnoser ( MemoryDiagnoser . Default ) ;
24+ }
25+ }
26+ }
Original file line number Diff line number Diff line change 99
1010namespace EFCore . Cassandra . Benchmarks
1111{
12+ [ Config ( typeof ( CassandraBenchmarkConfig ) ) ]
1213 public class InsertData : IDisposable
1314 {
1415 private readonly FakeDbContext _dbContext ;
You can’t perform that action at this time.
0 commit comments