Bug#252149: zenity is S L O W i use zenity to chose the window ma nager when running ~/.xsession, but i feel that it is unreasonably slow

giacomo boffi giacomo boffi <boffi@stru.polimi.it>, 252149@bugs.debian.org
Tue, 01 Jun 2004 11:43:27 +0200


Package: zenity
Version: 2.6.2-2
Severity: normal

 here it is a little benchmark session, comparing the time it takes
 zenity to pop-up, and the times it takes to xemacs to load, load the
 portable dump, run all initial code, display a frame and exit

 in both cases, the tests were repeated to have everything in cache, and
 results displayed are for the last tests

 zenity uses TEN times the cpu used by xemacs (oh well, it's 11.79
 times...)

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% echo $height
330
% echo $LISTA
FALSE ctwm FALSE gwm FALSE ion2 FALSE metacity FALSE pwm2 FALSE vtwm
TRUE twm
% time zenity --height=$height --list --radiolist --column Run\
              --column window\ manager $LISTA
twm

real    0m6.758s
user    0m5.660s
sys     0m0.530s
% time xemacs -f save-buffers-kill-emacs

Loading xlib-math...
Loading xlib-math...done
Loading xwem-compat...
Loading xwem-compat...done
Warning: No type converter registered for 'String' to 'Pixmap'
conversion.
Warning: No type converter registered for 'String' to 'Pixmap'
conversion.

real    0m0.655s
user    0m0.480s
sys     0m0.020s
%


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=C, LC_CTYPE=C

Versions of packages zenity depends on:
ii  libart-2.0-2              2.3.16-5       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-2        The ATK accessibility toolkit
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.1-2        The GLib library of C routines
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgtk2.0-0               2.4.1-4        The GTK+ graphical user interface 
ii  libpango1.0-0             1.4.0-3        Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  libx11-6                  4.3.0.dfsg.1-4 X Window System protocol client li
ii  libxml2                   2.6.10-2       GNOME XML library
ii  scrollkeeper              0.3.14-8       A free electronic cataloging syste
ii  xlibs                     4.3.0.dfsg.1-4 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-3    compression library - runtime

-- no debconf information