Code
authorAli Younis <ayounis@uci.edu>
Wed, 17 May 2017 23:19:06 +0000 (16:19 -0700)
committerAli Younis <ayounis@uci.edu>
Wed, 17 May 2017 23:19:06 +0000 (16:19 -0700)
version2/src/java/iotcloud/Test.java
version2/src/java/light_fan_embed_benchmark/Setup.java

index 6919214..62581d8 100644 (file)
@@ -11,7 +11,7 @@ import java.util.ArrayList;
 
 public class Test {
 
-    public static final  int NUMBER_OF_TESTS = 25;
+    public static final  int NUMBER_OF_TESTS = 1000;
 
     public static void main(String[] args)  throws ServerException {
         if (args[0].equals("2")) {
index 69c651a..6fdc27a 100644 (file)
@@ -9,11 +9,21 @@ class Setup {
         t1.initTable();
 
 
-        for ( int i = 0; i < 200; i++) {
+        for ( int i = 0; i < 150; i++) {
+            
+            System.out.println(i);
+
             String a1 = "bulb" + i;
             IoTString ia1 = new IoTString(a1);
             t1.createNewKey(ia1, 321);
             t1.update();
+
+
+            // t1.update();
+            // t1.startTransaction();
+            // t1.addKV(ia1, ia1);
+            // t1.commitTransaction();
+
         }