From: Kenichi Handa <handa@m17n.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: profiling emacs-23.1 vs emacs-22.3
Date: Wed, 26 Aug 2009 17:06:06 +0900 [thread overview]
Message-ID: <E1MgDWA-0006sr-Mr@etlken> (raw)
In-Reply-To: <200908260633.n7Q6XRXi018187@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Tue, 25 Aug 2009 23:33:27 -0700 (PDT))
In article <200908260633.n7Q6XRXi018187@godzilla.ics.uci.edu>, Dan Nicolaescu <dann@ics.uci.edu> writes:
> Some CJK charsets are necessary to create the default
> fontset. I think it's possible to avoid loading unnecessary
> charsets for creating the default fontset. I'll work on it.
> Can the data in the default fontset be in the dumped image in pure
> memory? To not have to create it every time on start up and GC it
> should be a win.
Is it possible to put the whole char-table in pure space,
then modify some part at running time?
> So, (3) is still 13% slower than (1), but I think it's a
> necessary cost for having the full Unicode support. And
> usually the slowness of GC doesn't direclty affect the total
> execution time.
> It does, see the profiling data that I sent. The problem with GC is
> that it will flush all the caches if there's too much memory to walk
> over. And the slowdown in GC speed is directly related to the big
> increase in the number of GCable objects.
If most of the execution is spent by GC, shouldn't such a
task run with bigger gc-cons-threshold?
But, I tried your test case of indent-region with different
gc-cons-threshold (gct), and the result shows that GC is not
the main culprit of the slowness.
emacs-22 (gct=400000): 16 to 17 sec
emacs-22 (gct=10000000):16 to 17 sec
trunk (gct=400000): 20 to 21 sec
trunk (gct=10000000): 19 to 20 sec
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2009-08-26 8:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 20:29 profiling emacs-23.1 vs emacs-22.3 Dan Nicolaescu
2009-08-04 17:10 ` Leo
2009-08-04 19:50 ` Chong Yidong
2009-08-04 19:56 ` Dan Nicolaescu
2009-08-05 7:47 ` Dan Nicolaescu
2009-08-24 6:52 ` Kenichi Handa
[not found] ` <200908240807.n7O87ubg024643@godzilla.ics.uci.edu>
2009-08-24 11:39 ` Kenichi Handa
2009-08-24 18:26 ` Dan Nicolaescu
2009-08-25 6:07 ` Kenichi Handa
2009-08-25 18:47 ` Dan Nicolaescu
2009-08-26 6:01 ` Kenichi Handa
2009-08-26 6:33 ` Dan Nicolaescu
2009-08-26 8:06 ` Kenichi Handa [this message]
2009-08-26 20:46 ` Andreas Schwab
2009-08-27 2:02 ` Kenichi Handa
2009-08-27 6:27 ` Kenichi Handa
2009-08-24 22:18 ` Alan Mackenzie
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=E1MgDWA-0006sr-Mr@etlken \
--to=handa@m17n.org \
--cc=dann@ics.uci.edu \
--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).