Re: Re: how to write snappy benchmark?
Owen Taylor <[email protected]>
| Newsgroups | gmane.comp.xfree86.forum |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2003-07-05 at 11:56, Marko Macek wrote:
> Hi!
>
> David Jeske wrote:
> > I'm interested in soliciting ideas about how to write this "snappy"
> > benchmark that's been referred to a few times. While I don't have time
> > to write the benchmarks, if I can get a clear picture of what will
> > help, I may be able to project manage and pay to have them
> > written. Here is how I would state the objective:
>
> A good base for benchmark is:
>
> $ while true ; do xrefresh ; sleep 0.1 ; done
>
> (time could be varied, and implemented in C for less overhead)
>
> Things that can be done with it:
>
> 1) observe repaints. Ideally, nothing on the screen will blink
> (the only app I can find that does this right is Mozilla,
> mostly by my efforts).
Note that the reason that Mozilla doesn't blink is the same
reason:
A) When you switch to the desktop with Mozilla on it and
Mozilla is swapped out, you see Mozilla slowly appear
out of whatever you had before, often first as a blinking
cursor in the URL line.
B) Windows dragged over Mozilla's content area leave huge
ugly trails of window border bits.
Some of us consider not blinking in Mozilla's way a distinctly
bad thing.
Regards,
Owen