Changeset: aa33fcf66f4f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=aa33fcf66f4f
Modified Files:
MonetDB5/src/mal/Tests/tst274.mal
MonetDB5/src/mal/Tests/tst274.stable.out
MonetDB5/src/mal/Tests/tst274.stable.out.oid64
Branch: default
Log Message:
merged test refinement from Jun2010
diffs (130 lines):
diff -r 41f8fb236366 -r aa33fcf66f4f MonetDB5/src/mal/Tests/tst274.mal
--- a/MonetDB5/src/mal/Tests/tst274.mal Wed Jul 21 11:30:13 2010 +0200
+++ b/MonetDB5/src/mal/Tests/tst274.mal Wed Jul 21 12:55:23 2010 +0200
@@ -25,12 +25,16 @@
d:= mmath.sin(0.2:dbl);
profiler.stop();
-#stmt:= profiler.getTrace("stmt");
+stmt:= profiler.getTrace("stmt");
#io.print(stmt);
+c := aggr.count(stmt);
+io.print(c);
ticks:= profiler.getTrace("ticks");
#io.print(ticks);
+c := aggr.count(ticks);
+io.print(c);
rdbytes:= profiler.getTrace("rbytes");
-#io.print(rdbytes);
+io.print(rdbytes);
wrbytes:= profiler.getTrace("wbytes");
-#io.print(wrbytes);
+io.print(wrbytes);
io.print(rdbytes,wrbytes);
diff -r 41f8fb236366 -r aa33fcf66f4f MonetDB5/src/mal/Tests/tst274.stable.out
--- a/MonetDB5/src/mal/Tests/tst274.stable.out Wed Jul 21 11:30:13 2010 +0200
+++ b/MonetDB5/src/mal/Tests/tst274.stable.out Wed Jul 21 12:55:23 2010 +0200
@@ -40,17 +40,45 @@
k2 := algebra.select(b,mx,nil:lng);
d := mmath.sin(0.20000000298023224:dbl);
profiler.stop();
-#stmt:= profiler.getTrace("stmt");
+ stmt := profiler.getTrace("stmt");
#io.print(stmt);
+ c := aggr.count(stmt);
+ io.print(c);
ticks := profiler.getTrace("ticks");
#io.print(ticks);
+ c := aggr.count(ticks);
+ io.print(c);
rdbytes := profiler.getTrace("rbytes");
-#io.print(rdbytes);
+ io.print(rdbytes);
wrbytes := profiler.getTrace("wbytes");
-#io.print(wrbytes);
+ io.print(wrbytes);
io.print(rdbytes,wrbytes);
end main;
#monitor
+[ 7 ]
+[ 7 ]
+#-----------------#
+# h t # name
+# void lng # type
+#-----------------#
+[ 0...@0, 0 ]
+[ 1...@0, 0 ]
+[ 2...@0, 0 ]
+[ 3...@0, 0 ]
+[ 4...@0, 120000 ]
+[ 5...@0, 0 ]
+[ 6...@0, 0 ]
+#-----------------#
+# h t # name
+# void lng # type
+#-----------------#
+[ 0...@0, 0 ]
+[ 1...@0, 120000 ]
+[ 2...@0, 0 ]
+[ 3...@0, 0 ]
+[ 4...@0, 120000 ]
+[ 5...@0, 120000 ]
+[ 6...@0, 0 ]
#-------------------------#
# h t t # name
# void lng lng # type
diff -r 41f8fb236366 -r aa33fcf66f4f
MonetDB5/src/mal/Tests/tst274.stable.out.oid64
--- a/MonetDB5/src/mal/Tests/tst274.stable.out.oid64 Wed Jul 21 11:30:13
2010 +0200
+++ b/MonetDB5/src/mal/Tests/tst274.stable.out.oid64 Wed Jul 21 12:55:23
2010 +0200
@@ -74,20 +74,47 @@
k2 := algebra.select(b,mx,nil:lng);
d := mmath.sin(0.20000000298023224:dbl);
profiler.stop();
-#stmt:= profiler.getTrace("statement");
+ stmt := profiler.getTrace("stmt");
#io.print(stmt);
+ c := aggr.count(stmt);
+ io.print(c);
ticks := profiler.getTrace("ticks");
#io.print(ticks);
+ c := aggr.count(ticks);
+ io.print(c);
rdbytes := profiler.getTrace("rbytes");
-#io.print(rdbytes);
+ io.print(rdbytes);
wrbytes := profiler.getTrace("wbytes");
-#io.print(wrbytes);
+ io.print(wrbytes);
io.print(rdbytes,wrbytes);
#io.print(ticks,rdbytes,wrbytes,diskspace);
end main;
# Start performance profiling
#monitor
-# Performance profiling stopped
+[ 7 ]
+[ 7 ]
+#-----------------#
+# h t # name
+# void lng # type
+#-----------------#
+[ 0...@0, 0 ]
+[ 1...@0, 0 ]
+[ 2...@0, 0 ]
+[ 3...@0, 0 ]
+[ 4...@0, 160000 ]
+[ 5...@0, 0 ]
+[ 6...@0, 0 ]
+#-----------------#
+# h t # name
+# void lng # type
+#-----------------#
+[ 0...@0, 0 ]
+[ 1...@0, 160000 ]
+[ 2...@0, 0 ]
+[ 3...@0, 0 ]
+[ 4...@0, 160000 ]
+[ 5...@0, 160000 ]
+[ 6...@0, 0 ]
#-------------------------#
# h t t # name
# int int int # type
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list