perf util: SVG performance improvements
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 20 Sep 2009 16:14:38 +0000 (18:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Sep 2009 17:37:36 +0000 (19:37 +0200)
commit611a546bec3e1af2a87af0862398fc711dc47aef
treeee2e222ab0f8a0bee4b6169e6e6a80332edcd10b
parent5094b655452dd48367fb28af74ffc76019b93dc2
perf util: SVG performance improvements

Tweak the output SVG to increase performance in SVG viewers by
limiting the different types of font sizes and by smarter
transformations on the text.

At least with Inkscape this gives a notable performance improvement
during zoom and scrolling.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090920181438.3a49cb93@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/svghelper.c