File tree Expand file tree Collapse file tree 7 files changed +12
-12
lines changed
benchmark/BenchmarkRunner/Benchmarks Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -122,19 +122,19 @@ jobs:
122122 uses : actions/download-artifact@v4
123123 with :
124124 name : mysql-results
125- path : benchmark/BenchmarkDotNet.Artifacts/results/ mysql
125+ path : benchmark/BenchmarkDotNet.Artifacts/mysql
126126
127127 - name : Download PostgreSQL Results
128128 uses : actions/download-artifact@v4
129129 with :
130130 name : postgresql-results
131- path : benchmark/BenchmarkDotNet.Artifacts/results/ postgresql
131+ path : benchmark/BenchmarkDotNet.Artifacts/postgresql
132132
133133 - name : Download SQLite Results
134134 uses : actions/download-artifact@v4
135135 with :
136136 name : sqlite-results
137- path : benchmark/BenchmarkDotNet.Artifacts/results/ sqlite
137+ path : benchmark/BenchmarkDotNet.Artifacts/sqlite
138138
139139 - name : Create Pull Request
140140 uses : peter-evans/create-pull-request@v6
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class MysqlReadBenchmark
1717 private readonly string _connectionString = Config . GetMysqlConnectionString ( ) ;
1818 private QuerySql _sqlcImpl = null ! ;
1919 private const int CustomerCount = 500 ;
20- private const int QueriesToRun = 3000 ;
20+ private const int QueriesToRun = 1000 ;
2121
2222 [ Params ( 50 , 500 , 5000 ) ]
2323 public int Limit { get ; set ; }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace BenchmarkRunner.Benchmarks;
1414[ CategoriesColumn ]
1515public class MysqlWriteBenchmark
1616{
17- private const int TotalRecords = 10000000 ; // 10 million records
17+ private const int TotalRecords = 5000000 ; // 5 million records
1818 private readonly string _connectionString = Config . GetMysqlConnectionString ( ) ;
1919 private QuerySql _sqlcImpl = null ! ;
2020 private Queries _efCoreImpl = null ! ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class PostgresqlReadBenchmark
1717 private readonly string _connectionString = Config . GetPostgresConnectionString ( ) ;
1818 private QuerySql _sqlcImpl = null ! ;
1919 private const int CustomerCount = 500 ;
20- private const int QueriesToRun = 3000 ;
20+ private const int QueriesToRun = 1000 ;
2121
2222 [ Params ( 50 , 500 , 5000 ) ]
2323 public int Limit { get ; set ; }
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ namespace BenchmarkRunner.Benchmarks;
1414[ CategoriesColumn ]
1515public class PostgresqlWriteBenchmark
1616{
17- private const int TotalRecords = 10000000 ; // 10 million records
17+ private const int TotalRecords = 5000000 ; // 5 million records
1818 private readonly string _connectionString = Config . GetPostgresConnectionString ( ) ;
1919 private QuerySql _sqlcImpl = null ! ;
2020 private Queries _efCoreImpl = null ! ;
2121 private List < QuerySql . AddOrderItemsArgs > _testOrderItems = null ! ;
2222
23- [ Params ( 1000 , 10000 , 50000 ) ]
23+ [ Params ( 500 , 1000 , 3000 ) ]
2424 public int BatchSize { get ; set ; }
2525
2626 [ GlobalSetup ]
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public class SqliteReadBenchmark
1717 private readonly string _connectionString = Config . GetSqliteConnectionString ( ) ;
1818 private QuerySql _sqlcImpl = null ! ;
1919 private const int CustomerCount = 250 ;
20- private const int QueriesToRun = 1000 ;
20+ private const int QueriesToRun = 500 ;
2121
22- [ Params ( 50 , 500 , 5000 ) ]
22+ [ Params ( 50 , 500 ) ]
2323 public int Limit { get ; set ; }
2424
2525 [ Params ( 5 , 25 ) ]
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ namespace BenchmarkRunner.Benchmarks;
1414[ CategoriesColumn ]
1515public class SqliteWriteBenchmark
1616{
17- private const int TotalRecords = 1000000 ; // 1 million records
17+ private const int TotalRecords = 500000 ; // 500K records
1818 private readonly string _connectionString = Config . GetSqliteConnectionString ( ) ;
1919 private QuerySql _sqlcImpl = null ! ;
2020 private Queries _efCoreImpl = null ! ;
2121 private List < QuerySql . AddOrderItemsArgs > _testOrderItems = null ! ;
2222
23- [ Params ( 100 , 200 , 500 ) ]
23+ [ Params ( 50 , 100 , 200 ) ]
2424 public int BatchSize { get ; set ; }
2525
2626 [ GlobalSetup ]
You can’t perform that action at this time.
0 commit comments