[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow GTK3 redisplay
From: |
Jan Djärv |
Subject: |
Re: Slow GTK3 redisplay |
Date: |
Mon, 13 Aug 2012 21:15:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
Hello.
2012-08-13 14:41, Dmitry Antipov skrev:
(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))))))
This is very syntetic. But I made a speed up, please try again.
The problem is that the display engine is not made for external tool bars, so
we (before the fix) redraw tool bars for Gtk+ on just about every redisplay.
Not a big real world problem, or there would have been complaints.
Jan D.