in reply to Re^2: Why so slow when using Perl/Tk?
in thread Why so slow when using Perl/Tk?
But your distinction between a plain text file and the .html output of your OP puzzles me again, as any difference should be negligible: the .html source is, to all intents and purposes as far as writing the file is concerned, a "plain text file."
Or does your actual script open a browser after writing the output? That, of course, would add a bit more overhead. In that case, you cantrim the rendering time by assigning width to table and the ten tds.
In any case, it may be useful to profile your actual script: see http://search.cpan.org/~timb/Devel-NYTProf-2.10/lib/Devel/NYTProf.pm.OTOH, it may be even more useful to await better answers from Tk gurus here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why so slow when using Perl/Tk?
by RAS230 (Acolyte) on Jul 29, 2009 at 00:05 UTC | |
by Argel (Prior) on Jul 29, 2009 at 00:31 UTC |