Bug #4731
closedSingle click on scrollbar request/response is slower than in Wt-3.3.4
0%
Description
The source of our software did not change, yet it seems after upgrading to Wt-3.3.5 that the response to a click on a scrollbar is more than 5 times slower compared to Wt-3.3.4.
I attached a screenshot showing the behaviour in the chrome developer console and the source of the scrollbar widget.
Files
Updated by Koen Deforche almost 9 years ago
- Status changed from New to Feedback
Perhaps the reason is not in the scrollbarwidget itself but in some of the rerendering that is associated with it? Can you post contents of the response itself (taken also from the developer console)? Do you have the impression that the slowdown is specifically for this particular action, or is it just only noticable with this action?
Updated by Markus S almost 9 years ago
- File SingleClickOnScrollbarButton_Wt-334.har SingleClickOnScrollbarButton_Wt-334.har added
- File SingleClickOnScrollbarButton_Wt-335.har SingleClickOnScrollbarButton_Wt-335.har added
- File RequestTime_Wt_334_vs_Wt_335.png RequestTime_Wt_334_vs_Wt_335.png added
Koen Deforche wrote:
Perhaps the reason is not in the scrollbarwidget itself but in some of the rerendering that is associated with it? Can you post contents of the response itself (taken also from the developer console)? Do you have the impression that the slowdown is specifically for this particular action, or is it just only noticable with this action?
Thank you for your quick response.
I checked the draw call of the cells, but it is never executed on scrolling. I attached the exported requests/response(Chrome/Save as HAR with content, I hope it's enough) for both 3.3.4 and 3.3.5.
I added another screenshot of a simpler case that does no custom painting but is also slower. It is a button that changes it's CSS on click.
Possibly it is worse if drawing actually occurs, because in another example I checked updating two cells is more than 10 times slower.
Updated by Max Quatember almost 9 years ago
Hi Koen,
with 3.3.4 the performance seems to be ok again.
We will switch back to 3.3.4 and try to isolate a testcase, that shows the problem.
best regards
Max
Updated by Koen Deforche over 8 years ago
- Status changed from Feedback to InProgress
- Assignee set to Roel Standaert
- Priority changed from Urgent to Normal
- Target version changed from 3.3.5 to 3.3.6
WPaintedWidget should defer/avoid calling setFormObject(true) to when needed only (decide it in WPaintedWidget::render())
Updated by Roel Standaert over 8 years ago
- Status changed from InProgress to Implemented @Emweb
Updated by Koen Deforche over 8 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Koen Deforche over 8 years ago
- Status changed from Resolved to Closed