blob: adb89dbc735baf71cfec6ef561f220200b229f53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
\setupbodyfont[dejavu]
\starttext
\dontcomplain
\startluacode
if jit then
jit.on()
jit.off()
end
\stopluacode
\startluacode
statistics.starttiming()
\stopluacode
\dorecurse {10} {
\dorecurse{1000} {
\dontleavehmode
\startMPcode
for i=1,100 :
draw
fullcircle scaled 10pt
withpen pencircle xscaled 2 yscaled 4 rotated 20 ;
endfor ;
\stopMPcode
\enspace
}
\page
}
\startluacode
statistics.stoptiming()
context(statistics.elapsedtime())
\stopluacode
\stoptext
|