unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Slow GTK3 redisplay
@ 2012-08-13 12:41 Dmitry Antipov
  2012-08-13 13:59 ` Tassilo Horn
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dmitry Antipov @ 2012-08-13 12:41 UTC (permalink / raw)
  To: Emacs development discussions

Some time ago I did the following simple redisplay benchmark:

(defun scroll-benchmark ()
   (interactive)
   (let ((oldgc gcs-done)
         (oldtime (float-time)))
     (condition-case nil (while t (scroll-up) (redisplay))
       (error (message "GCs: %d Elapsed time: %f seconds"
                       (- gcs-done oldgc) (- (float-time) oldtime))))))

And here are some results of running the code above over xdisp.c,
with different X toolkits and without it. Of course, emacs -Q was used.
GTK3 is 3.2.4, GTK2 is 2.24.8, OpenMotif is 2.3.3, Xaw3d 1.5E, Xaw 1.0.8.

Default GUI means menu bar, tool bar and scroll bar enabled. Minimal GUI
means all of the above is disabled, i.e. the frame state after

(progn (menu-bar-mode 0) (tool-bar-mode 0) (scroll-bar-mode -1)).

Numbers are in seconds.

           Default GUI Minimal GUI
GTK3:        108          34
GTK2:         41          34
OpenMotif:    36          34
Lucid:        38          34
None:         36          33

Here GTK3 GUI is _painfully_ slow. Can someone explain this? Is something
wrong with my GTK3 setup? Am I running heavyweight theme, or what?

Dmitry



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-14 23:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-13 12:41 Slow GTK3 redisplay Dmitry Antipov
2012-08-13 13:59 ` Tassilo Horn
2012-08-13 17:34   ` Eli Zaretskii
2012-08-13 17:32 ` Eli Zaretskii
2012-08-14 13:04   ` YAMAMOTO Mitsuharu
2012-08-14 16:17     ` chad
2012-08-14 23:55       ` YAMAMOTO Mitsuharu
2012-08-13 19:15 ` Jan Djärv
2012-08-14  9:25   ` Tassilo Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).