summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-19 23:04:15 +0000
committerKarl Berry <karl@freefriends.org>2017-04-19 23:04:15 +0000
commitf74161ca4e7eb3c5af9afcbe92522ae3b58987c1 (patch)
tree3c30a13df5ac7968195c85070a2b074578e669d2 /Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex
parent1d5a55ac8f5506a7ae9cfca52f4b588182e199d4 (diff)
context beta/cont-tmf.zip (Apr 16 12:55)
git-svn-id: svn://tug.org/texlive/trunk@43931 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex')
-rw-r--r--Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex60
1 files changed, 60 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex b/Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex
new file mode 100644
index 00000000000..95c605c16bb
--- /dev/null
+++ b/Master/texmf-dist/doc/context/sources/general/manuals/hybrid/benchmark-4.tex
@@ -0,0 +1,60 @@
+\setupbodyfont[dejavu]
+
+\starttext
+
+\dontcomplain
+
+\startluacode
+ if jit then
+ jit.on()
+ jit.off()
+ end
+\stopluacode
+
+\startluacode
+ statistics.starttiming()
+\stopluacode
+
+\startbuffer
+ \margintext{test} test test
+
+ \startitemize[a]
+ \startitem test \stopitem
+ \startitem test \stopitem
+ \startitem test \stopitem
+ \startitem test \stopitem
+ \stopitemize
+
+ \startxtable
+ \startxrow
+ \startxcell test \stopxcell
+ \startxcell test \stopxcell
+ \startxcell test \stopxcell
+ \stopxrow
+ \startxrow
+ \startxcell test \stopxcell
+ \startxcell test \stopxcell
+ \startxcell test \stopxcell
+ \stopxrow
+ \stopxtable
+\stopbuffer
+
+\dorecurse {25} {
+ \startchapter[title=Test #1]
+ \dorecurse {25} {
+ \startsection[title=Test #1]
+ \getbuffer
+ \stopsection
+ }
+ \stopchapter
+}
+
+\page
+
+\startluacode
+ statistics.stoptiming()
+ context(statistics.elapsedtime())
+\stopluacode
+
+\stoptext
+