From: Jason Rumney <jasonr@gnu.org>
To: dhruva <dhruvakm@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Profiling Emacs on M$
Date: Wed, 21 May 2008 08:53:36 +0100 [thread overview]
Message-ID: <4833D500.30207@gnu.org> (raw)
In-Reply-To: <e3f230850805202154t518e0b18h40a85ee75349246e@mail.gmail.com>
dhruva wrote:
> Hello,
> Now that I have a working MSVC build on M$, I started with profiling
> the code using Kernrate (a sampling based non-intrusive profiler by
> M$). I am attaching the results for a very basic start, opening a
> couple of emacs source files (font.c, files.el) and closing the emacs
> session.
>
The results show most of the CPU time being taken by garbage collection,
which is to be expected with light use.
Since the current problems seem to be in displaying fonts, you need to
start emacs, then make it do lots of redisplay before quitting, so that
redisplay functions dominate. When I do this using Free profiling
software (gprof), it shows w32font_text_extents as being the most
significant consumer of CPU time outside of garbage collection and
waiting for input. It would be interesting if you can replicate those
results, as that would prove that using proprietary software does not
give any advantage here.
next prev parent reply other threads:[~2008-05-21 7:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 4:54 Profiling Emacs on M$ dhruva
2008-05-21 7:53 ` Jason Rumney [this message]
2008-05-21 9:14 ` dhruva
2008-05-21 17:18 ` Eli Zaretskii
2008-05-22 3:55 ` dhruva
2008-05-23 8:22 ` Eli Zaretskii
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=4833D500.30207@gnu.org \
--to=jasonr@gnu.org \
--cc=dhruvakm@gmail.com \
--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).