Browse Source

Calibrated for the full power window case study

Yentl Van Tendeloo 7 years ago
parent
commit
1810c87207
3 changed files with 38 additions and 36 deletions
  1. 18 18
      calibration/averages
  2. 2 0
      calibration/calibrate.py
  3. 18 18
      calibration/plot

+ 18 - 18
calibration/averages

@@ -1,18 +1,18 @@
-           read_root: 0.00000309944152832
-           read_dict: 0.00000109017405544
-      read_dict_keys: 0.00000771419083835
-          read_value: 0.00000048706462118
-      read_dict_node: 0.00000410590924421
-     rule_generation: 0.00000774041799057
-      read_dict_edge: 0.00000170346292753
-         create_node: 0.00000069349853707
-    create_nodevalue: 0.00000113976282128
-         create_dict: 0.00000449104044703
-         delete_edge: 0.00000258010318542
-         delete_node: 0.00000933119041606
-   read_reverse_dict: 0.00001771650836785
-         create_edge: 0.00000211996117233
-       read_outgoing: 0.00000156062038996
-       read_incoming: 0.00000121752731274
-           read_edge: 0.00000047658309108
-               purge: 0.66480747391195860
+           read_root: 0.00000286102294922
+           read_dict: 0.00000111572760438
+      read_dict_keys: 0.00000804585451241
+          read_value: 0.00000034615233937
+      read_dict_node: 0.00000179092252642
+     rule_generation: 0.00000655349476756
+      read_dict_edge: 0.00000289815230939
+         create_node: 0.00000068492153396
+    create_nodevalue: 0.00000092757548643
+         create_dict: 0.00000452244578806
+         delete_edge: 0.00000288573306975
+         delete_node: 0.00000854612362978
+   read_reverse_dict: 0.00001803564576967
+         create_edge: 0.00000184485407698
+       read_outgoing: 0.00000150604374452
+       read_incoming: 0.00000178369373520
+           read_edge: 0.00000039638876172
+               purge: 0.88014233679998488

+ 2 - 0
calibration/calibrate.py

@@ -6,6 +6,8 @@ with open(sys.argv[1] if len(sys.argv) > 1 else "calibration/result", 'r') as f:
     for l in f:
         try:
             op, t = l.split(": ")
+            if "LOG" in op:
+                continue
             t = float(t)
             operations.setdefault(op, []).append(t)
         except:

+ 18 - 18
calibration/plot

@@ -1,7 +1,7 @@
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=9.29832458496e-06
+max=8.58306884766e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -14,7 +14,7 @@ plot 'calibration/distribution_read_root' u (rounded($1)):(1) smooth freq w boxe
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=3.27052216631e-06
+max=3.34718281313e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -27,7 +27,7 @@ plot 'calibration/distribution_read_dict' u (rounded($1)):(1) smooth freq w boxe
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=2.31425725151e-05
+max=2.41375635372e-05
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -40,7 +40,7 @@ plot 'calibration/distribution_read_dict_keys' u (rounded($1)):(1) smooth freq w
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=1.46119386354e-06
+max=1.03845701811e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -53,7 +53,7 @@ plot 'calibration/distribution_read_value' u (rounded($1)):(1) smooth freq w box
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=1.23177277326e-05
+max=5.37276757927e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -66,7 +66,7 @@ plot 'calibration/distribution_read_dict_node' u (rounded($1)):(1) smooth freq w
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=2.32212539717e-05
+max=1.96604843027e-05
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -79,7 +79,7 @@ plot 'calibration/distribution_rule_generation' u (rounded($1)):(1) smooth freq
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=5.11038878259e-06
+max=8.69445692818e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -92,7 +92,7 @@ plot 'calibration/distribution_read_dict_edge' u (rounded($1)):(1) smooth freq w
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=2.08049561122e-06
+max=2.05476460188e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -105,7 +105,7 @@ plot 'calibration/distribution_create_node' u (rounded($1)):(1) smooth freq w bo
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=3.41928846383e-06
+max=2.78272645929e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -118,7 +118,7 @@ plot 'calibration/distribution_create_nodevalue' u (rounded($1)):(1) smooth freq
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=1.34731213411e-05
+max=1.35673373642e-05
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -131,7 +131,7 @@ plot 'calibration/distribution_create_dict' u (rounded($1)):(1) smooth freq w bo
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=7.74030955625e-06
+max=8.65719920925e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -144,7 +144,7 @@ plot 'calibration/distribution_delete_edge' u (rounded($1)):(1) smooth freq w bo
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=2.79935712482e-05
+max=2.56383708893e-05
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -157,7 +157,7 @@ plot 'calibration/distribution_delete_node' u (rounded($1)):(1) smooth freq w bo
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=5.31495251036e-05
+max=5.4106937309e-05
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -170,7 +170,7 @@ plot 'calibration/distribution_read_reverse_dict' u (rounded($1)):(1) smooth fre
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=6.359883517e-06
+max=5.53456223095e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -183,7 +183,7 @@ plot 'calibration/distribution_create_edge' u (rounded($1)):(1) smooth freq w bo
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=4.68186116987e-06
+max=4.51813123356e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -196,7 +196,7 @@ plot 'calibration/distribution_read_outgoing' u (rounded($1)):(1) smooth freq w
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=3.65258193822e-06
+max=5.35108120561e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -209,7 +209,7 @@ plot 'calibration/distribution_read_incoming' u (rounded($1)):(1) smooth freq w
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=1.42974927324e-06
+max=1.18916628515e-06
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder
@@ -222,7 +222,7 @@ plot 'calibration/distribution_read_edge' u (rounded($1)):(1) smooth freq w boxe
 set terminal postscript enhanced colour portrait size 6,6
 set xtics rotate by -45
 n = 20
-max=1.99442242174
+max=2.6404270104
 width=max/n
 set boxwidth width absolute
 set style fill solid 1.0 noborder