[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Measuring startup latency
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2000-07-19 14:43:07
[Download RAW message or body]
On Wed, 19 Jul 2000, Geert Jansen wrote:
> Hi,
>
> just wrote a little utility called kstartperf. It measures an app's startup
> latency accurately within a few milliseconds.
>
> From the README:
>
> ** How does it work?
>
> 1. KStartPerf sets an environment variable (KSTARTPERF) to the current
> time. 2. KStartPerf executes the requested comand command with an
> LD_PRELOAD library which overrides XMapWindow.
> 3. As soon as the app calls XMapWindow (this is the point where we assume
> that the app has "started up"), the overrided function gets called which
> calculated the time difference between the current time and the time
> stored in the KSTARTPERF environment variable. This value is printed to
> standard error.
> 4. The overridden XMapWindow calls the original XMapWindow and everything
> else continues normally.
>
> Anyone interested?
I think this is at the least a helpful tool. Why not put it in kdenonbeta ??
Regards,
Dawit A.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic