Friday, May 2, 2014

All of the above operations automatically Composition Thread are discarded. Here is a little remind

Windows Phone 7 Performance Metrics
Windows 8 Metro UI in yesterday's article touched upon the metric of the performance metrics mentioned that very similar to Windows phones. But then I realized that I came in the mail by a few to mention in my blog from Windows perspect Phonem not cut the metric is the time saying :) Then let's get to the topic.
Very critical perspect in the performance perspect of Windows phones. Now that summer is not a Silverlight application on a computer that runs on the phone hardware is much more limited than for the need to move carefully. In this process, the performance metrics are provided to us may be severely hurt our business. Windows 8 Metro UI unlike WP7 side unless you are in debug mode by default metrics are displayed permanently. perspect
In the above image you can see the WP7 emulator. When the application runs in emulator on the top right of any performance metrics are evident. These metrics debug your application on the device when you can see on the device again. In fact, all standing behind this işevsellig following code enables the App.xaml.
if (System.Diagnostics. Debugger. ısattached) {Application. current.host.settings.enableframeratecount = true; }
In the above image, though perspect each of the meanings of the counter means other written work that they need to learn what these counters. Admittedly I last performance metrics for Windows 8 Metro when writing the article I thought I told all of them :) :) But I did not tell what's perspect Kismet say today. Composition FPS Thread
and Windows 8 Metro UI wp7 apps from the moment they first opened, they come with two Thread. The first of these, of course, all the processes that are responsible for uıthread SAHNEY put a StackPanel when you calculate its positioning and the positioning of the objects perspect in the set, the Thread. uıthread at the same time you know about our UIElement event listener into're also running our code. So unless you are getting there by creating a separate thread in a Button perspect click uıthread yazdığıız code works. This often intense perspect process perspect when it comes to processing of applications focused uıthread rear of the UI's failure to renew itself and we know that the User Interface, "Not Responding" status perspect can cause. The application interface is slower and less often work with FPS, one of the reasons why this is happening.
Composition of uıthread Thread to ease the burden on this issue and some operations automatically on another thread that has been implemented in order to be a solution. uıthread placed on the stage by the changes related perspect to the placement of objects without the needed bitmap perspect rendering operations and all other calculations Composition Thread automatically assigned to WP7, and the process takes place there. Translate perspect Scale transformations transformations transformations Rotate perspect Plane Projection changes the Opacity perspect Masking Frame
All of the above operations automatically Composition Thread are discarded. Here is a little reminder; Scale Transform excess if half of the screen size to cover the valve is kept in this process uıthread. Most of the time the use of Composition Thread is automatic, but especially if you want to dispose of an object as possible in a simple way to compositionthread perspect bitmapcaching can use.
Under normal conditions in wp7 would Composition Thread fps 60fps. The moment you start to drop below its 25-user performance problems will feel. Therefore, this metric is useful to pay attention to.
Meanwhile, a little more note. If no operation is performed if the composition of this performance metric thread constantly zero will return back. He therefore rendering perspect each frame can not be zero when you see no one like you do not need to be scared :) uıthread FPS
In fact, talking about compositionthread also summarize briefly, we have uıthread. perspect All animations can not be expelled to Thread composition, positioning studies, and all the transactions are made in direct uıthread. This includes databinding. The important thing is uıthread possible to get wasted. So rusty description of possible compositionthread with bitmapcaching even needed to get out of operations with backgroundworker very critical.
uıthread certainly should not fall below 12 FPS amount. You must keep can keep I on 20. Whatever perspect you do, in some cases you can see that the rise of the uıthread the fps. In such cases, immediately compositionthread see the fps. uıthread result of the actions actually give compositionthread also WAIT

No comments:

Post a Comment