[Tikzdevice-bugs] Peformance
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Dec 4 13:12:01 CET 2009
Thanks. When I try to run the test it fails. This is the stderr output is
shown below and test.log is attached. I am on Windows Vista and am running
R 2.10.0.
---
C:\tmp2\tikzDevice\inst\tests>Rscript testRTikZDevice.R --output=output >
test.l
og
Loading required package: filehash
Loading required package: methods
filehash: Simple key-value database (2.0-1 2008-12-19)
tikzDevice: A Device for R Graphics Output in PGF/TikZ Format (v0.4.8)
Checking for a LaTeX compiler...
A working LaTeX compiler was found in:
The PATH using the command latex
Global option tikzLatex set to:
C:\PROGRA~1\MIKTEX~1.7\miktex\bin\latex.exe
MiKTeX-pdfTeX 2.7.2808 (1.40.4) (MiKTeX 2.7)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2006 Han The Thanh
TeX is a trademark of the American Mathematical Society.
Error in getMetricsFromLatex(TeXMetrics) :
******** There was a problem calculating string metrics,
******** likely there was a problem with your custom packages.
******** See the LaTeX log file above for details.
Calls: source ... Axis.default -> axis -> <Anonymous> -> getMetricsFromLatex
Execution halted
---
On Wed, Dec 2, 2009 at 8:23 PM, Cameron Bracken
<cameron.bracken at gmail.com>wrote:
> Not quite sure what you mean by relative speed, but yes there is a test
> suite that times some output. The suite is in the inst/tests directory of
> the source code. A vast majority of the time is taken by calculating string
> widths. The performance gain from caching metrics calculations is very
> noticable, somtimes up to 90% when lots of strings are involved. Does this
> answer your question?
>
> -Cameron
>
>
> On Dec 2, 2009, at 6:10 PM, Gabor Grothendieck <ggrothendieck at gmail.com>
> wrote:
>
> Are there any performance benchmarks for tikzdevice? Is the relative
>> speed noticeable?
>>
>>
>> _______________________________________________
>> Tikzdevice-bugs mailing list
>> Tikzdevice-bugs at lists.r-forge.r-project.org
>>
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/tikzdevice-bugs/attachments/20091204/82c67946/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.log
Type: application/octet-stream
Size: 30829 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/tikzdevice-bugs/attachments/20091204/82c67946/attachment-0001.obj
More information about the Tikzdevice-bugs
mailing list