all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dhruva <dhruvakm@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: Profiling Emacs on M$
Date: Wed, 21 May 2008 10:24:20 +0530	[thread overview]
Message-ID: <e3f230850805202154t518e0b18h40a85ee75349246e@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

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 reason I am sending this is not aimed at the results but to
convey that I have an environment where I can perform easy profiling.
Do let me know if there are specific scenarios that need to be
profiled to find hot spots.

For anyone interested:
1. Download Krview from M$ site and install it (on XP/2K)
2. Make sure you run the appropriate kernrate for the arch and os type
(no 64bit support yet)

$ Kernrate_i386_XP.exe -a -j
C:\users\dhruva\stub\repo\git\emacs\src\obj-spd\i386 -z emacs.exe -wx
10  -yr emacs.kv -o emacs.exe

The generated file emacs.kv can be opened in an excel file (part of
krview) which has a bunch of VB macros that creates an excel report.

-dky

-- 
Contents reflect my personal views only!

[-- Attachment #2: emacs_kernrate.png --]
[-- Type: image/png, Size: 23328 bytes --]

             reply	other threads:[~2008-05-21  4:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21  4:54 dhruva [this message]
2008-05-21  7:53 ` Profiling Emacs on M$ Jason Rumney
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

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

  git send-email \
    --in-reply-to=e3f230850805202154t518e0b18h40a85ee75349246e@mail.gmail.com \
    --to=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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.