Bug 60143 - [UWP] Optimized ZIndexing for a thirty-nine percent speed boot on loading views
Summary: [UWP] Optimized ZIndexing for a thirty-nine percent speed boot on loading views
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: unspecified
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-10-11 20:54 UTC by Brad Chase
Modified: 2017-12-19 12:40 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Brad Chase 2017-10-11 20:54:36 UTC
Setting the Z-Index of UI Elements in UWP can be very costly.  I tracked a 39% improvement in speed when loading views.  This will only set the Z-Index when the developer explicitly raises or lowers an element rather than every time any element is added to the tree and re-setting all its siblings.

I would recommend creating an actual Z-Index on elements rather than a raise/lower method but I understand cases like Droid where they use the raise/lower method.  I think to gain the highest speed improvement across all devices and OS's would be to move to the Z-Index method.
Comment 1 Paul DiPietro [MSFT] 2017-10-11 21:02:25 UTC
For situations like these I think it's just easier to submit a PR rather and not worry about filing a bug, because it's more of an enhancement.
Comment 2 Brad Chase 2017-10-11 21:05:39 UTC
I agreed but I wanted to make sure we had a place to talk about it, if need be.  I wish there was a selection we could use to mark as enhancement.
Comment 3 Brad Chase 2017-10-11 21:05:57 UTC
Linkback to PR:

Comment 4 Paul DiPietro [MSFT] 2017-10-11 21:27:27 UTC
We do have an importance signifier which I'll update.
Comment 5 Rui Marinho 2017-12-19 12:40:31 UTC
Should be fixed on 2.6.0-pre1