emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Profiling Emacs on M$


From: Jason Rumney
Subject: Re: Profiling Emacs on M$
Date: Wed, 21 May 2008 08:53:36 +0100
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]