Thread Tk::Font::measure ist zu langsam (9 answers)
Opened by betterworld at 2005-07-24 17:03

ptk
 2005-07-25 16:19
#44248 #44248
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
Windows, nehme ich an? Unter Linux (perl 5.8.0, Tk 800.025, X 4.2.0) ist es:
Code: (dl )
1
2
3
4
5
timethis 10:  0 wallclock secs ( 0.10 usr +  0.01 sys =  0.11 CPU) @ 90.91/s (n=10)
(warning: too few iterations for a reliable count)
timethis 100: 4 wallclock secs ( 1.05 usr + 0.11 sys = 1.16 CPU) @ 86.21/s (n=100)
timethis 400: 17 wallclock secs ( 4.09 usr + 0.16 sys = 4.25 CPU) @ 94.12/s (n=400)
timethis 1000: 45 wallclock secs (10.64 usr + 0.54 sys = 11.18 CPU) @ 89.45/s (n=1000)
(Und danach wurde es mir zu langweilig...)

View full thread Tk::Font::measure ist zu langsam