Changeset: a0c5aec9be94 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a0c5aec9be94
Modified Files:
        monetdb5/mal/Tests/performanceTests/performanceLog
        monetdb5/mal/Tests/tst400bHuge.mal
        monetdb5/modules/atoms/mtime.mal
        monetdb5/modules/atoms/str.c
        monetdb5/modules/kernel/alarm.c
Branch: Oct2014
Log Message:

Textual changes and microperformance update


diffs (104 lines):

diff --git a/monetdb5/mal/Tests/performanceTests/performanceLog 
b/monetdb5/mal/Tests/performanceTests/performanceLog
--- a/monetdb5/mal/Tests/performanceTests/performanceLog
+++ b/monetdb5/mal/Tests/performanceTests/performanceLog
@@ -108,7 +108,7 @@ We assume a bat[lng,lng] with 1M element
 tst901a contains a fast implementation assuming aligned bats
 in both V5 and V4.3
 
-tst901b uses the MAL/MIL generic loop to achieve the same result
+tst901b uses the /MIL generic loop to achieve the same result
 For V5 a C-version was also constructed, which assumed a
 code generation technique based on translation of each individual
 MAL statement to the relevant C-statements. No inter-statement
@@ -1231,3 +1231,18 @@ tst400e          0.613/0.470/0.012
 
 tst901a                0.655/0.409/0.038
 tst901b                1.417/1.100/0.038
+======================== 12 oct 2014 ===================
+Vienna Fedora 20 
+Default release
+The compilation mode for is --enable-optimize --disable-debug
+compilation took ?
+command: time mserver5 TST </dev/null >/dev/null
+base           0.111/0.095/0.014
+tst400a                0.261/0.190/0.021
+tst400bHuge    0.262/0.197/0.027
+tst400cHuge    0.262/0.209/0.030
+tst400d                0.661/0.601/0.027
+tst400e                0.861/0.814/0.016
+
+tst901a                0.812/0.750/0.032
+tst901b                2.112/2.051/0.038
diff --git a/monetdb5/mal/Tests/tst400bHuge.mal 
b/monetdb5/mal/Tests/tst400bHuge.mal
--- a/monetdb5/mal/Tests/tst400bHuge.mal
+++ b/monetdb5/mal/Tests/tst400bHuge.mal
@@ -1,6 +1,4 @@
 # testing the function resolution on builtin type
-client.setListing(0);
-
        i:= 0:lng;
        i:= i+1;
        i:= i+1;
diff --git a/monetdb5/modules/atoms/mtime.mal b/monetdb5/modules/atoms/mtime.mal
--- a/monetdb5/modules/atoms/mtime.mal
+++ b/monetdb5/modules/atoms/mtime.mal
@@ -43,7 +43,7 @@
 # and the lexicographical string ordering of this representation respects the
 # actual date ordering.
 #
-# Other print formats can be achieved by writing a customized MIL procedure
+# Other print formats can be achieved by writing a customized procedure
 # that extracts year, month and day from a date as integers and formats those
 # in a string.
 atom date :int;
@@ -613,7 +613,6 @@ comment "extract minutes from rule.";
 #
 # Arithmetic overflow returns the nil atom (no error messages). For all 
commands in
 # this modules it holds that if one of the parameters is nil, the result is 
also nil
-# (nil has the don't know semantics in MIL).
 command addyears(value:date, years:int) :date
 address MTIMEdate_addyears
 comment "returns the date after a number
diff --git a/monetdb5/modules/atoms/str.c b/monetdb5/modules/atoms/str.c
--- a/monetdb5/modules/atoms/str.c
+++ b/monetdb5/modules/atoms/str.c
@@ -96,7 +96,7 @@
  * kernel whether the zero-terminated byte sequence it is processing
  * has UTF-8 or Latin-1 semantics. This module is the only place where
  * explicit string functionality is located. We {\bf do} have to adapt
- * the behavior of the MIL length(), search(), substring() and the
+ * the behavior of the length(), search(), substring() and the
  * like commands to the fact that one (Unicode) character is now
  * stored in a variable number of bytes (possibly > 1).
  *
@@ -2438,9 +2438,6 @@ STRSubstitute(str *res, str *arg1, str *
        return MAL_SUCCEED;
 }
 
-/*
- * A few old MIL procs implementations
- */
 str
 STRascii(int *ret, str *s){
        int offset=0;
diff --git a/monetdb5/modules/kernel/alarm.c b/monetdb5/modules/kernel/alarm.c
--- a/monetdb5/modules/kernel/alarm.c
+++ b/monetdb5/modules/kernel/alarm.c
@@ -26,7 +26,7 @@
  * The Monet interface supports two timer commands: @emph{ alarm} and @emph{ 
sleep}.
  * Their argument is the number of seconds to wait before the timer goes off.
  * The @emph{ sleep} command blocks till the alarm goes off.
- * The @emph{ alarm} command continues directly, executes off a MIL
+ * The @emph{ alarm} command continues directly, executes off a 
  * string when it goes off.
  * The parameterless routines @emph{ time} and @emph{ ctime} provide access to
  * the cpu clock.They return an integer and string, respectively.
@@ -55,7 +55,7 @@ alarm_export str ALARMtime(int *res);
 #define MAXtimer                200
 
 typedef struct {
-       str action;             /* MIL action (as a string) */
+       str action;             /* action (as a string) */
        MT_Sema sema;           /* barrier */
        time_t alarm_time;      /* time when the alarm goes off */
 } monet_timer_t;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to