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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Nov 6 14:38:10 EST 2011


Author: matju
Date: Sun Nov  6 14:38:09 2011
New Revision: 6800

Log:
added speed test

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

Modified: trunk/tests/#expr-test.pd
==============================================================================
--- trunk/tests/#expr-test.pd (original)
+++ trunk/tests/#expr-test.pd Sun Nov  6 14:38:09 2011
@@ -21,56 +21,56 @@
 #X obj 821 29 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
 #X obj 159 193 #expr $f4+($f5-$f4)*($f1-$f2)/($f3-$f2);
-#X floatatom 750 277 5 0 0 0 - - -;
-#X obj 750 314 display;
-#X obj 750 295 #expr log($f1*3);
-#X floatatom 748 336 5 0 0 0 - - -;
-#X obj 748 373 display;
-#X floatatom 649 278 5 0 0 0 - - -;
-#X obj 649 315 display;
-#X obj 649 296 #expr tanh($f1);
+#X floatatom 750 167 5 0 0 0 - - -;
+#X obj 750 204 display;
+#X obj 750 185 #expr log($f1*3);
+#X floatatom 748 226 5 0 0 0 - - -;
+#X obj 748 263 display;
+#X floatatom 649 168 5 0 0 0 - - -;
+#X obj 649 205 display;
+#X obj 649 186 #expr tanh($f1);
 #X obj 159 251 #expr sqrt($f1);
 #X obj 159 369 #expr abs($f1);
-#X floatatom 652 336 5 0 0 0 - - -;
-#X obj 652 373 display;
-#X obj 652 354 #expr rand($f1);
+#X floatatom 652 226 5 0 0 0 - - -;
+#X obj 652 263 display;
+#X obj 652 244 #expr rand($f1);
 #X obj 734 138 v a;
 #X obj 759 138 v b;
 #X obj 785 138 v c;
 #X floatatom 785 120 5 0 0 0 - - -;
 #X floatatom 759 102 5 0 0 0 - - -;
 #X floatatom 734 84 5 0 0 0 - - -;
-#X floatatom 871 392 5 0 0 0 - - -;
-#X floatatom 748 392 5 0 0 0 - - -;
-#X obj 748 429 display;
+#X floatatom 871 282 5 0 0 0 - - -;
+#X floatatom 748 282 5 0 0 0 - - -;
+#X obj 748 319 display;
 #X obj 541 71 #expr 1 \, 2 \, 3 \; 4 \; 5 \, 6 \; 7 \, 8 \, 9;
-#X obj 748 410 #expr atan2($f1 \, $f2);
+#X obj 748 300 #expr atan2($f1 \, $f2);
 #X obj 734 39 #expr 37 \; 42 \; 69;
 #X obj 734 20 loadbang;
 #X obj 717 20 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
 #X obj 159 489 #expr a+b*c;
 #X obj 541 31 #expr (1 \, 2);
-#X obj 656 462 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+#X obj 749 339 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
 -1 -1;
-#X floatatom 656 499 5 0 0 0 - - -;
-#X obj 757 540 table foo 10;
-#X obj 703 540 loadbang;
-#X msg 703 559 0 2 3 5 7 11 13 17 19 23 29;
-#X obj 703 578 s foo;
-#X obj 656 480 #expr foo[$f1];
-#X floatatom 675 461 5 0 0 0 - - -;
+#X floatatom 749 376 5 0 0 0 - - -;
+#X obj 787 395 table foo 10;
+#X obj 733 395 loadbang;
+#X msg 733 414 0 2 3 5 7 11 13 17 19 23 29;
+#X obj 733 433 s foo;
+#X obj 749 357 #expr foo[$f1];
+#X floatatom 768 338 5 0 0 0 - - -;
 #X obj 541 51 #expr 1 \, 2;
 #X obj 562 703 #expr tan($f1);
-#X obj 536 616 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+#X obj 811 477 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
 -1 -1;
-#X obj 534 658 display;
-#X obj 537 635 #expr grumble+2;
-#X obj 395 615 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+#X obj 811 515 display;
+#X obj 811 495 #expr grumble+2;
+#X obj 684 477 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
 -1 -1;
-#X obj 395 654 display;
-#X obj 704 599 table grumble 444;
-#X obj 395 635 expr size("grumble");
+#X obj 684 514 display;
+#X obj 734 454 table grumble 444;
+#X obj 684 495 expr size("grumble");
 #X obj 159 310 #expr log10($f1);
 #X obj 9 47 is 2;
 #X obj 9 11 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
@@ -89,7 +89,7 @@
 #X msg 159 350 -789;
 #X obj 159 449 #expr max((-567) \, 765);
 #X obj 159 409 #expr max(-567 \, 765);
-#X obj 748 354 #expr weight($f1);
+#X obj 748 244 #expr weight($f1);
 #X obj 159 529 #expr cos(0)+100;
 #X obj 9 87 is 4;
 #X obj 9 127 is 4;
@@ -116,6 +116,65 @@
 #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;
+#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 text 121 24 SPEED TEST;
+#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 2 7 0;
+#X connect 5 0 4 0;
+#X connect 7 0 6 0;
+#X connect 8 0 14 1;
+#X connect 9 0 15 0;
+#X connect 10 0 8 0;
+#X connect 11 0 9 0;
+#X connect 12 0 14 0;
+#X connect 13 0 11 0;
+#X connect 13 1 12 0;
+#X connect 13 2 10 0;
+#X connect 14 0 15 1;
+#X connect 15 0 16 0;
+#X connect 17 0 21 1;
+#X connect 18 0 22 0;
+#X connect 19 0 21 0;
+#X connect 20 0 24 0;
+#X connect 20 1 19 0;
+#X connect 20 2 25 0;
+#X connect 21 0 22 1;
+#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 restore 435 386 pd SPEED_TEST;
 #X connect 0 0 86 0;
 #X connect 1 0 89 0;
 #X connect 2 0 87 0;



More information about the Gridflow-cvs mailing list