0

我用WACK測試了我的應用程序,得到了以下結果。我怎樣才能解決這兩個警告,我可以把我的應用程序放在AppStore中?如何修復WACK報告中的啓動時間性能並暫停性能?

------------------------------------------------------------------ 
Overall Score: PASSED WITH WARNINGS 

Launch time performance 

WARNING 
Performance Launch 
Warning: Following results were encountered while running the Performance Launch test. 
Application App has a launch time of 0.971 secs. 
Application App has CPU utilization of 12.15 percent. CPU utilization of 50 percent or higher can significantly degrade performance for Application Launch/Suspend. 
Application App allocates process private memory of 0 MB. Process private memory usage of greater than 25 MB can significantly degrade performance for Application Launch/Suspend. 
Application App issues File I/O of 0.722 MB. Issuing File I/O of 50 MB or higher can significantly degrade performance for Application Launch/Suspend. 
Impact if not fixed: Application launch is your customer’s first experience and impression of your Metro style application. To ensure system responsiveness applications are expected to launch within 5 seconds. Windows 8 is targeted at a broad range of hardware configurations and this launch time target is intended to provide a good baseline of performance across the broadest range of hardware capabilities. It is important to understand the launch performance of your application, while taking hardware capabilities into consideration. If your application has passed this test locally but has launch times which are close to the required limits, consider what type of hardware this test is being executed on as your application could potentially fail the Windows Store certification process. Reducing resource utilization can reduce the duration of launch, especially when contention for resources is high. 
How to fix: Additional information can be found here. 


Suspend performance 

WARNING 
Performance Suspend 
Warning: Following results were encountered while running the Performance Suspend test. 
Application App has a suspend time of 0.005 secs. 
Application App has CPU utilization of 9.11 percent. CPU utilization of 50 percent or higher can significantly degrade performance for Application Launch/Suspend. 
Application App issues File I/O of 0 MB. Issuing File I/O of 20 MB or higher can significantly degrade performance for Application Launch/Suspend. 
Impact if not fixed: In the Metro style user experience, Application suspend is a very frequent occurrence. To ensure fast and fluid multitasking, applications are expected to suspend within 2 seconds. Windows 8 is targeted at a broad range of hardware configurations and this suspend time target is intended to provide a good baseline of performance across the broadest range of hardware capabilities. It is important to understand the suspend performance of your application, while taking hardware capabilities into consideration. If your application has passed this test locally but has suspend times which are close to the required limits, consider what type of hardware this test is being executed on as your application could potentially fail the Windows Store certification process. Reducing resource utilization during can improve the duration of suspend, especially when contention for resources is high. 
How to fix: Additional information can be found here. 

回答

1

每個應用程序都會在Consumer Preview中獲取這些警告,因爲它們用於報告啓動和暫停時間。你會發現你的數字遠低於關注的門檻。這些警告不會導致商店出現問題 - 您今天在商店中看到的每個應用都會收到這些警告。