https://bugzilla.novell.com/show_bug.cgi?id=391069
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=391069#c8
--- Comment #8 from Mike Fabian 2008-05-26 08:59:14 MDT ---
Speed comparison of wxt and x11:
mfabian@magellan:~$ ( echo "set term x11" ; for i in {1..100} ; do echo "plot
sin(x+$i/10.) t '$i'" ; done ) | LC_ALL=de_DE time gnuplot
0.05user 0.01system 0:01.45elapsed 4%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3284minor)pagefaults 0swaps
mfabian@magellan:~$ ( echo "set term wxt" ; for i in {1..100} ; do echo "plot
sin(x+$i/10.) t '$i'" ; done ) | LC_ALL=de_DE time gnuplot
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException occurred at handle_message ()
Command terminated by signal 6
1.38user 0.28system 0:04.19elapsed 39%CPU (0avgtext+0avgdata 0maxresident)k
16inputs+19152outputs (0major+45771minor)pagefaults 0swaps
mfabian@magellan:~$ ( echo "set term wxt" ; for i in {1..100} ; do echo "plot
sin(x+$i/10.) t '$i'" ; done ) | LC_ALL=de_DE.UTF-8 time gnuplot
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException occurred at handle_message ()
Command terminated by signal 6
1.36user 0.29system 0:04.18elapsed 39%CPU (0avgtext+0avgdata 0maxresident)k
8inputs+19968outputs (0major+45864minor)pagefaults 0swaps
mfabian@magellan:~$ ( echo "set term x11" ; for i in {1..100} ; do echo "plot
sin(x+$i/10.) t '$i'" ; done ) | LC_ALL=de_DE.UTF-8 time gnuplot
0.07user 0.01system 0:15.48elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3284minor)pagefaults 0swaps
mfabian@magellan:~$
I.e. wxt is 3 times slower than x11 in single byte locales but more
than 3 times faster than x11 in multibyte locales. And the performance
of wxt is independent of the locale.
As wxt uses client side font rendering with antialiasing it is to be
expected that it is somewhat slower than x11 in single byte locales,
but it looks so much nicer that this is acceptable in my opinion.
On top of that it also gives you better support for unusual characters
and better scalability.
By the was, "set term x11 enhanced font \"dejavu sans,15\"" is also
fast independent of the locale:
mfabian@magellan:~$ ( echo "set term x11 enhanced font \"dejavu sans,15\"" ;
for i in {1..100} ; do echo "plot sin(x+$i/10.) t '$i'" ; done ) |
LC_ALL=de_DE time gnuplot
0.05user 0.02system 0:01.51elapsed 5%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3293minor)pagefaults 0swaps
mfabian@magellan:~$ ( echo "set term x11 enhanced font \"dejavu sans,15\"" ;
for i in {1..100} ; do echo "plot sin(x+$i/10.) t '$i'" ; done ) |
LC_ALL=de_DE.UTF-8 time gnuplot
0.03user 0.02system 0:01.52elapsed 4%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3293minor)pagefaults 0swaps
mfabian@magellan:~$
I think wxt should be the default though.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.