unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Slow GTK3 redisplay
Date: Mon, 13 Aug 2012 21:15:10 +0200	[thread overview]
Message-ID: <5029523E.2040703@swipnet.se> (raw)
In-Reply-To: <5028F5EA.40609@yandex.ru>

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.




  parent reply	other threads:[~2012-08-13 19:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2012-08-14  9:25   ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5029523E.2040703@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=dmantipov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).