Annotation of parser3/tests/208.html, revision 1.4
1.1 misha 1: @main[]
1.2 misha 2: ^memory:compact[]
3:
1.1 misha 4: $r0[$status:rusage]
5: $m0[$status:memory]
6:
7: ^do[]
8: ^do[]
9: ^sleep(1)
1.3 misha 10: ^for[j](0;3){
11: $i(0)
12: ^while(true){
13: $a($i)
14: ^i.inc(1)
15: ^if($i==9000){
16: ^break[]
17: }
18: }
19: }
1.1 misha 20:
21: $r1[$status:rusage]
22: $m1[$status:memory]
23:
24: ^memory:compact[]
1.3 misha 25: ^do[]
1.1 misha 26:
27: $r2[$status:rusage]
28: $m2[$status:memory]
29:
30: Status:<br />
31: time diff: ^if($r1.tv_sec*1000+$r1.tv_usec/1000-$r0.tv_sec*1000-$r0.tv_usec/1000 >= 1000){OK}{???}<br />
1.2 misha 32: #maxrss diff: ^if($r2.maxrss-$r0.maxrss){OK}{???}<br />
1.1 misha 33: ^$r1.stime: ^if($r1.stime){OK}{???}<br />
34: ^$r1.utime: ^if($r1.utime){OK}{???}<br />
35: ^$r1.utime >= ^$r1.stime ? ^if($r1.utime >= $r1.stime){Y (OK)}{N (???)}<br />
36:
37: <br />
38: Memory:<br />
39: ^$m1.used > ^$m0.used ? ^if($m1.used > $m0.used){Y (OK)}{N (???)}<br />
40: ^$m1.used > ^$m2.used ? ^if($m1.used > $m2.used){Y (OK)}{N (???)}<br />
41: ^$m2.used >= ^$m0.used ? ^if($m2.used >= $m0.used){Y (OK)}{N (???)}<br />
42: <br />
43:
44: ^$m1.ever_allocated_since_start >= ^$m0.ever_allocated_since_start ? ^if($m1.ever_allocated_since_start >= $m0.ever_allocated_since_start){Y (OK)}{N (???)}<br />
45: ^$m2.ever_allocated_since_start >= ^$m1.ever_allocated_since_start ? ^if($m2.ever_allocated_since_start >= $m1.ever_allocated_since_start){Y (OK)}{N (???)}<br />
46: <br />
47:
48: ^$m1.ever_allocated_since_compact >= ^$m0.ever_allocated_since_compact ? ^if($m1.ever_allocated_since_compact >= $m0.ever_allocated_since_compact){Y (OK)}{N (???)}<br />
1.2 misha 49: ^$m2.ever_allocated_since_compact >= ^$m0.ever_allocated_since_compact ? ^if($m2.ever_allocated_since_compact >= $m0.ever_allocated_since_compact){Y (OK)}{N (???)}<br />
1.1 misha 50:
51: @do[][i;var]
52: $var[^for[i](1;5000){^i.format[%4d]}]
E-mail: