On Jan 25, 2006, at 10:04 AM, Abdelrazak Younes wrote:

YOUNES Abdelrazak (M3SYSTEM) a écrit :
Hello Bennett,
I'll send a patch tomorrow but you can already test if the patch I sent earlier has any impact on performance on MacOSX.

Hi Bennet,
Please find attached the patch that remove the key buffering. This is completely untested because I cannot link qt2 frontend anymore. But it should work. If would be good to test the two patches independently and then both at the same time. The test cases are:
- Keep a character key pressed (ex: 'a')
- Keep the down arrow key pressed
- Keep the PageDown key pressed
- Type as fast as you can and see if there are any character dropped.

I haven't done any precise measurements, but I don't notice any effect from applying both patches at the same time. (I don't have time to test separately now, and it seems from my experience thus far like it wouldn't give new information.)

In a large-ish document, in the middle of a paragraph, I kept a key pressed, and the amount of time it takes to fill 2 lines of text is about the same for the patched and unpatched versions. Keeping the down arrow pressed, I don't notice any subjective difference (though I didn't try to quantify this case). Keeping PageDown pressed, it takes about the same amount of time to page through the entire document. Both patched and unpatched versions were able to keep up with my typing without dropping characters, and I wasn't able to notice any obvious difference in processor usage as I did this.

So, it seems that the patch doesn't have effects noticeable to the user on Mac.

Bennett

Reply via email to