[Gridflow-cvs] [svn] commit: r6822 - in /trunk/tests: #expr-test.pd gem-test.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Nov 12 23:16:03 EST 2011


Author: matju
Date: Sat Nov 12 23:16:03 2011
New Revision: 6822

Log:
...

Modified:
    trunk/tests/#expr-test.pd
    trunk/tests/gem-test.pd

Modified: trunk/tests/#expr-test.pd
==============================================================================
--- trunk/tests/#expr-test.pd (original)
+++ trunk/tests/#expr-test.pd Sat Nov 12 23:16:03 2011
@@ -1,4 +1,4 @@
-#N canvas 615 0 909 746 10;
+#N canvas 615 0 943 746 10;
 #X obj 9 68 #expr 2+2;
 #X obj 9 188 #expr 5+5*12+12;
 #X obj 9 108 #expr (2+2);
@@ -116,42 +116,54 @@
 #X obj 159 428 is 765;
 #X obj 159 508 is 2935;
 #X obj 159 548 is 101;
-#N canvas 0 0 450 300 SPEED_TEST 0;
-#X obj 165 80 #expr 42+(34-23.0)*($f1-21)/(87-65.0);
-#X obj 165 110 expr 42+(34-23.0)*($f1-21)/(87-65.0);
-#X obj 72 89 f 1000;
-#X obj 72 69 until;
-#X obj 31 12 t b b b;
+#N canvas 647 226 600 648 SPEED_TEST 0;
+#X obj 239 188 #expr 42+(34-23.0)*($f1-21)/(87-65.0);
+#X obj 237 277 expr 42+(34-23.0)*($f1-21)/(87-65.0);
+#X obj 239 168 f 1000;
+#X obj 239 148 until;
+#X obj 179 101 t b b b;
 #X obj 13 13 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
-#X floatatom 12 70 8 0 0 0 - - -;
-#X obj 12 50 realtime;
-#X obj 125 225 - 65;
-#X obj 63 225 - 23;
-#X obj 125 205 f 87;
-#X obj 63 205 f 34;
-#X obj 94 225 - 21;
-#X obj 75 180 t b f b;
-#X obj 94 245 /;
-#X obj 63 245 *;
-#X obj 63 265 + 42;
-#X obj 245 225 - 65;
-#X obj 183 225 - 23;
-#X obj 214 225 - 21;
-#X obj 195 180 t b f b;
-#X obj 214 245 /;
-#X obj 183 245 *;
-#X obj 183 265 + 42;
-#X msg 183 205 34;
-#X msg 245 205 87;
-#X msg 72 49 1e+06;
+#X floatatom 179 149 8 0 0 0 - - -;
+#X obj 179 129 realtime;
+#X obj 115 485 - 65;
+#X obj 53 485 - 23;
+#X obj 115 465 f 87;
+#X obj 53 465 f 34;
+#X obj 84 485 - 21;
+#X obj 65 440 t b f b;
+#X obj 84 505 /;
+#X obj 53 505 *;
+#X obj 53 525 + 42;
+#X obj 235 485 - 65;
+#X obj 173 485 - 23;
+#X obj 204 485 - 21;
+#X obj 185 440 t b f b;
+#X obj 204 505 /;
+#X obj 173 505 *;
+#X obj 173 525 + 42;
+#X msg 173 465 34;
+#X msg 235 465 87;
 #X text 121 24 SPEED TEST;
+#X obj 201 28 shunt;
+#X text 237 27 takes 200 ns/call in GF 9.13/14;
+#X text 236 41 down to 185 ns/call using hash_map method-table;
+#X text 236 54 but right-inlet is much faster (now 85 ns/call) because
+it is not a anything;
+#X msg 239 128 1e+06;
+#X obj 237 257 f 1000;
+#X obj 237 237 until;
+#X obj 177 190 t b b b;
+#X floatatom 177 238 8 0 0 0 - - -;
+#X obj 177 218 realtime;
+#X msg 237 217 1e+06;
 #X connect 2 0 0 0;
 #X connect 3 0 2 0;
 #X connect 4 0 7 1;
-#X connect 4 1 26 0;
+#X connect 4 1 31 0;
 #X connect 4 2 7 0;
 #X connect 5 0 4 0;
+#X connect 5 0 34 0;
 #X connect 7 0 6 0;
 #X connect 8 0 14 1;
 #X connect 9 0 15 0;
@@ -173,8 +185,21 @@
 #X connect 22 0 23 0;
 #X connect 24 0 18 0;
 #X connect 25 0 17 0;
-#X connect 26 0 3 0;
+#X connect 31 0 3 0;
+#X connect 32 0 1 0;
+#X connect 33 0 32 0;
+#X connect 34 0 36 1;
+#X connect 34 1 37 0;
+#X connect 34 2 36 0;
+#X connect 36 0 35 0;
+#X connect 37 0 33 0;
 #X restore 435 386 pd SPEED_TEST;
+#X obj 356 450 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 357 493 #expr a+b*c;
+#X floatatom 353 516 5 0 0 0 - - -;
+#X obj 160 571 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
 #X connect 0 0 86 0;
 #X connect 1 0 89 0;
 #X connect 2 0 87 0;
@@ -270,3 +295,6 @@
 #X connect 107 0 48 0;
 #X connect 108 0 82 0;
 #X connect 109 0 85 0;
+#X connect 110 0 115 0;
+#X connect 112 0 113 0;
+#X connect 113 0 114 0;

Modified: trunk/tests/gem-test.pd
==============================================================================
--- trunk/tests/gem-test.pd (original)
+++ trunk/tests/gem-test.pd Sat Nov 12 23:16:03 2011
@@ -1,7 +1,7 @@
-#N canvas 712 123 634 687 10;
+#N canvas 712 119 634 974 10;
 #X obj 435 27 loadbang;
-#X obj 190 79 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0
-1;
+#X obj 190 79 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1
+;
 #X obj 9 32 gemhead;
 #X obj 15 437 pix_texture;
 #X msg 441 66 destroy;
@@ -97,7 +97,6 @@
 #X obj 214 604 #see;
 #X obj 214 509 #downscale_by 5 smoothly;
 #X msg 64 52 open /home/matju/src/gridflow/images/pure-data.jpg;
-#X obj 435 86 gemwin 5;
 #X obj 214 528 t a a;
 #X obj 256 528 #dim;
 #X obj 256 547 #fold *;
@@ -109,12 +108,23 @@
 #X obj 36 75 pix_image;
 #X obj 9 52 shunt;
 #X obj 0 0 doc_demo;
+#X obj 106 784 pix_video;
+#X obj 106 705 gemdead;
+#X obj 106 686 metro 100;
+#X obj 106 669 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 1 1
+;
+#X obj 106 803 #from_pix;
+#X msg 178 709 colorspace RGBA;
+#X obj 106 822 #see 1;
+#X msg 178 729 colorspace YUV;
+#X msg 178 749 colorspace Grey;
+#X obj 435 86 gemwin 30;
 #X connect 0 0 31 0;
 #X connect 1 0 29 0;
-#X connect 2 0 69 0;
+#X connect 2 0 68 0;
 #X connect 3 0 32 0;
 #X connect 3 0 42 0;
-#X connect 4 0 60 0;
+#X connect 4 0 79 0;
 #X connect 7 0 27 0;
 #X connect 8 0 7 0;
 #X connect 9 0 10 0;
@@ -142,7 +152,7 @@
 #X connect 28 0 15 0;
 #X connect 29 0 28 0;
 #X connect 30 0 22 0;
-#X connect 31 0 60 0;
+#X connect 31 0 79 0;
 #X connect 32 0 22 0;
 #X connect 32 1 30 0;
 #X connect 33 0 32 1;
@@ -162,16 +172,24 @@
 #X connect 53 1 52 0;
 #X connect 54 0 53 1;
 #X connect 56 0 58 0;
-#X connect 58 0 61 0;
-#X connect 59 0 68 0;
-#X connect 61 0 65 0;
-#X connect 61 1 62 0;
+#X connect 58 0 60 0;
+#X connect 59 0 67 0;
+#X connect 60 0 64 0;
+#X connect 60 1 61 0;
+#X connect 61 0 62 0;
 #X connect 62 0 63 0;
-#X connect 63 0 64 0;
-#X connect 64 0 66 0;
-#X connect 65 0 57 0;
-#X connect 66 0 65 1;
-#X connect 67 0 69 1;
-#X connect 68 0 47 0;
-#X connect 69 0 27 0;
-#X connect 69 1 68 0;
+#X connect 63 0 65 0;
+#X connect 64 0 57 0;
+#X connect 65 0 64 1;
+#X connect 66 0 68 1;
+#X connect 67 0 47 0;
+#X connect 68 0 27 0;
+#X connect 68 1 67 0;
+#X connect 70 0 74 0;
+#X connect 71 0 70 0;
+#X connect 72 0 71 0;
+#X connect 73 0 72 0;
+#X connect 74 0 76 0;
+#X connect 75 0 70 0;
+#X connect 77 0 70 0;
+#X connect 78 0 70 0;



More information about the Gridflow-cvs mailing list