summaryrefslogtreecommitdiff
path: root/doc/context/presentations/context/2017/context-2017-performance.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-09-27 20:24:34 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-09-27 20:24:34 +0200
commit0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67 (patch)
treea652bb083d6bc6a9b6309908dd5d09a539ac3859 /doc/context/presentations/context/2017/context-2017-performance.tex
parent58c7c9288160407c874930aac789ef6ef3faa6b5 (diff)
downloadcontext-0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67.tar.gz
2019-09-27 18:10:00
Diffstat (limited to 'doc/context/presentations/context/2017/context-2017-performance.tex')
-rw-r--r--doc/context/presentations/context/2017/context-2017-performance.tex65
1 files changed, 65 insertions, 0 deletions
diff --git a/doc/context/presentations/context/2017/context-2017-performance.tex b/doc/context/presentations/context/2017/context-2017-performance.tex
new file mode 100644
index 000000000..458a051a5
--- /dev/null
+++ b/doc/context/presentations/context/2017/context-2017-performance.tex
@@ -0,0 +1,65 @@
+\usemodule[present-lines]
+
+\definecolor[maincolor][g=.4,b=.4]
+
+\startdocument[title=Performance,subtitle={\CONTEXT\ 2017 Maibach}]
+
+\startchapter[title=Why bother]
+
+\startitemize
+ \startitem because we don't want to waste time waiting \stopitem
+ \startitem because I get tired of ignorance related complaints \stopitem
+ \startitem because it (sometimes) can be a nice puzzle to improve performance \stopitem
+ \startitem because it occasionally reviewing makes code better \stopitem
+\stopitemize
+
+\stopchapter
+
+\startchapter[title=Possible bottlenecks]
+
+\startitemize
+ \startitem starting up \stopitem
+ \startitem loading fonts \stopitem
+ \startitem processing features \stopitem
+ \startitem applying trickery \stopitem
+ \startitem enabling tracing \stopitem
+ \blank[2*big]
+ \startitem fonts \stopitem
+ \startitem \LUA \stopitem
+ \startitem images \stopitem
+\stopitemize
+
+\stopchapter
+
+\startchapter[title=Measurements]
+
+\startitemize
+ \startitem how long does a run take \stopitem
+ \startitem how does the number of pages matter \stopitem
+ \startitem how many runs are needed \stopitem
+ \blank[2*big]
+ \startitem start-up time \stopitem
+ \startitem processing pages \stopitem
+ \startitem finishing the document \stopitem
+ \startitem the console used \stopitem
+\stopitemize
+
+\stopchapter
+
+\startchapter[title=Examples]
+
+\startitemize
+\startitem
+ see \goto{onandon-performance.pdf}[file(onandon-performance.pdf)] for timings
+\stopitem
+\startitem
+ you can try \type {--timing} to see where \LUA\ spends it time
+\stopitem
+\startitem
+ analyzing with \type {--profile} can give some indication (but is slow)
+\stopitem
+\stopitemize
+
+\stopchapter
+
+\stopdocument