Asger Ottar Alstrup wrote:
Abdelrazak Younes wrote:
Before Denmark, the UserGuide PageDown test was at 18 seconds. Now it is at 25 seconds. I hope you have some more code in store for speed ;-)

It might very well be the anti-aliasing we enabled. Can you try to revert that? Just search for setRenderHint and comment those guys out. If this is the case, I guess anti-aliasing should be optional through some preference setting.

The difference is minimal but it is there, I now have better results with a different window size:
- 21 s with setRenderHint(QPainter::TextAntialiasing)
- 22-23 s without.

So I guess this setRenderHint() is not guilty of anything. If anything, I would say the contrary.

One thing that is maybe impacting the scrolling speed is the bogus cursor. I guess painting a big square square in addition does not help.

By the way, I cannot see any text rendering difference between the two version. Looks to me that the text is anti-aliased in both cases. Looks to me that this setRenderHint() is just a helper for something else.

Abdel.

Reply via email to