-
-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window initialization slows down after upgrade to 9.0 #995
Comments
It shouldn't be that much slower. Could you either share the profiling files or expand the call trees all the way down and then use "Copy Subtree to clipboard", put the results into text files and attach those to this issue? FYI: you don't need to upload images on an external host, you can just drag&drop or copy&paste them in the text area here. |
That's quite strange. Something seems to run twice. As the main time consumer is Could you share your application, ideally with it's source code. |
Sorry, this is an internal project of our company, so the code cannot be sent. Run the project and double-click the chart to open the child window. I started profiling when I opened the child window. |
I can't see any performance problems in the provided test application, at least on my machine. What's strange is that performance seems to be around 10 times slower on your machine. |
The slow part is mainly in AssociatedObject_SourceInitialized and OnIsCheckedChanged. |
Do you have set the If you have Rider you can set a breakpoint inside the |
Code from RibbonTabControlControlTemplate The problem is related to the IsMinimized property of RibbonTabControl. If I delete the IsChecked binding in the above code or only delete the InverseBoolConverter, the problem is gone. |
You are totally right. That's my mistake. The menu items shouldn't have a group name. Argh... |
Thanks for reporting, providing information and finding the culprit.. Will release version 9.0.1 next week. |
After upgrading from 8.0.3 to 9.0, the window initialization speed slows down.
v8.png
This is the initialization speed of the window using 8.0.3.
v9.png
This is the initialization speed of the window using 9.0.
The window content is simple, with just four ribbon tabs and an OxyPlot chart.
It was about 700 milliseconds slow after the upgrade.
Environment
The text was updated successfully, but these errors were encountered: