Changeset: fcc2ce4e1a10 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fcc2ce4e1a10
Modified Files:
MonetDB5/src/mal/Tests/tst274.mal
MonetDB5/src/mal/Tests/tst274.stable.out
MonetDB5/src/mal/Tests/tst274.stable.out.oid64
Branch: Jun2010
Log Message:
extended tst274 to support analysis of bug 2603
I suspect that on Windows profiler.getTrace()
might return an empty result BAT,
rather than that there is a missing flush
in io.print() ...
diffs (133 lines):
diff -r 1c0442c5fa12 -r fcc2ce4e1a10 MonetDB5/src/mal/Tests/tst274.mal
--- a/MonetDB5/src/mal/Tests/tst274.mal Wed Jul 21 10:06:04 2010 +0200
+++ b/MonetDB5/src/mal/Tests/tst274.mal Wed Jul 21 12:51:56 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 1c0442c5fa12 -r fcc2ce4e1a10 MonetDB5/src/mal/Tests/tst274.stable.out
--- a/MonetDB5/src/mal/Tests/tst274.stable.out Wed Jul 21 10:06:04 2010 +0200
+++ b/MonetDB5/src/mal/Tests/tst274.stable.out Wed Jul 21 12:51:56 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, 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
# int int int # type
diff -r 1c0442c5fa12 -r fcc2ce4e1a10
MonetDB5/src/mal/Tests/tst274.stable.out.oid64
--- a/MonetDB5/src/mal/Tests/tst274.stable.out.oid64 Wed Jul 21 10:06:04
2010 +0200
+++ b/MonetDB5/src/mal/Tests/tst274.stable.out.oid64 Wed Jul 21 12:51:56
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