Browse Source

Comparing rule of thumb (#6791)

Daniel 3 years ago
parent
commit
2eee6b3f4b

+ 4 - 4
frameworks/Java/officefloor/src/woof_benchmark_sqlclient/src/main/java/net/officefloor/benchmark/SqlClientOfficeFloorMain.java

@@ -130,7 +130,7 @@ public class SqlClientOfficeFloorMain implements DatabaseOperations {
 		// Nothing thread specific to set up
 		// Nothing thread specific to set up
 	}
 	}
 
 
-	private static final int DB_COUNT = 1;
+	private static final int DB_COUNT = 2;
 
 
 	@Override
 	@Override
 	public void db(DbSendResponse sender) {
 	public void db(DbSendResponse sender) {
@@ -152,7 +152,7 @@ public class SqlClientOfficeFloorMain implements DatabaseOperations {
 				});
 				});
 	}
 	}
 
 
-	private static final int QUERIES_COUNT = 1;
+	private static final int QUERIES_COUNT = 2;
 
 
 	@Override
 	@Override
 	public void queries(int queryCount, QueriesSendResponse sender) {
 	public void queries(int queryCount, QueriesSendResponse sender) {
@@ -202,7 +202,7 @@ public class SqlClientOfficeFloorMain implements DatabaseOperations {
 				});
 				});
 	}
 	}
 
 
-	private static final int UPDATE_COUNT = 1;
+	private static final int UPDATE_COUNT = 2;
 
 
 	@Override
 	@Override
 	public void update(int queryCount, UpdateSendResponse sender) {
 	public void update(int queryCount, UpdateSendResponse sender) {
@@ -263,4 +263,4 @@ public class SqlClientOfficeFloorMain implements DatabaseOperations {
 		throw new UnsupportedOperationException("/cached-worlds test not supported");
 		throw new UnsupportedOperationException("/cached-worlds test not supported");
 	}
 	}
 
 
-}
+}