summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/hybrid/benchmark-3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/context/sources/general/manuals/hybrid/benchmark-3.tex')
-rw-r--r--doc/context/sources/general/manuals/hybrid/benchmark-3.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/hybrid/benchmark-3.tex b/doc/context/sources/general/manuals/hybrid/benchmark-3.tex
new file mode 100644
index 000000000..5d9759124
--- /dev/null
+++ b/doc/context/sources/general/manuals/hybrid/benchmark-3.tex
@@ -0,0 +1,28 @@
+\setupbodyfont[dejavu]
+
+\starttext
+
+\dontcomplain
+
+\startluacode
+ if jit then
+ jit.on()
+ jit.off()
+ end
+\stopluacode
+
+\startluacode
+ statistics.starttiming()
+\stopluacode
+
+\dorecurse {1000} {
+ test \page
+}
+
+\startluacode
+ statistics.stoptiming()
+ context(statistics.elapsedtime())
+\stopluacode
+
+\stoptext
+