locked
Launch time performance, Suspend performance, Debug App Check test failed

    Question

  • hi

    my app running with Windows App Certification Kit

    and test result is failed.

    how can i do solve problem?

    App.xaml.cs

    using System.Collections.ObjectModel;
    using BusInfo20W8.Models;
    using BusInfo20W8.ViewModels;
    using kaki104.MetroCL.Statics;
    using Windows.ApplicationModel;
    using Windows.ApplicationModel.Activation;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;

    namespace BusInfo20W8
    {
        sealed partial class App : Application
        {
            ViewModelLocator locator = null;

           public App()
            {
                this.InitializeComponent();
                this.Suspending += OnSuspending;
                this.UnhandledException += App_UnhandledException;
            }

           void App_UnhandledException(object sender, UnhandledExceptionEventArgs e)
           {
               if (System.Diagnostics.Debugger.IsAttached)
               {
                   System.Diagnostics.Debugger.Break();
               }
               else
               {
                   Functions.MsgBox(e.Message);
               }
           }

            async protected override void OnLaunched(LaunchActivatedEventArgs args)
            {
                locator = new ViewModelLocator();
                App.Current.Resources["Locator"] = locator;

                await SuspensionManager.RestoreSetting();

                var favo = SuspensionManager.GetData("StationGroup");
                if (favo.Result != null)
                {
                    locator.FavoVM.StationGroup = favo.Result as ObservableCollection<StationGroupRow>;
                }

                // Create a Frame to act navigation context and navigate to the first page
                var rootFrame = new Frame();
                rootFrame.Navigate(typeof(MainPage));

                // Place the frame in the current Window and ensure that it is active
                Window.Current.Content = rootFrame;
                Window.Current.Activate();
            }

            async protected void OnSuspending(object sender, SuspendingEventArgs e)
            {
            }
        }
    }

    Launch time performance

    FAILED
    Performance Launch

    Error: Following results were encountered while running the Performance Launch test.◦Infrastructure Error: Failure occurred while processing application App. Please consider re-running the test and avoid interacting with the application while tests are running.
    ◦Exception: Infrastructure Error: Timeout occurred during testing while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe. Please consider re-running the test and avoid interacting with the application while tests are running.


    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

    FAILED
    Performance Suspend

    Error: Following results were encountered while running the Performance Suspend test.◦Infrastructure Error: Failure occurred while processing application App. Please consider re-running the test and avoid interacting with the application while tests are running.
    ◦Exception: Infrastructure Error: Timeout occurred during testing while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe. Please consider re-running the test and avoid interacting with the application while tests are running.


    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.


    Debug App Check


    FAILED
    The App should not install any debug binaries.

    Error: Following errors were encountered while running the Debug Binary Check test.◦Failed to extract imported API information for this application.


    Impact if not fixed: Windows Store policies do not allow submission of debug binaries. Please ensure that all submitted binaries are configured as release to avoid rejecting your submission.


    How to fix: Binaries compiled as debug are known to fail this validation. Please always ensure your binary is compiled in release configuration and not debug configuration.

    Saturday, March 24, 2012 7:01 AM

All replies

  • Hello,

    do you get the same failures if you run it on a simple Metro application?  For example, if you create a new metro C# application, build, and deploy it, run appcertui.exe, specify the simple Metro app, etc..

    I want to check if you are running into a similar issue with the appcertkit.

    much appreciated,

    mike

    Monday, March 26, 2012 6:09 PM
    Moderator
  • hi Mike Wong

    today i made a new project Grid application.

    i test it.

    Launch time performance warning

    Suspend performance warning

    my test pc is Windows 7,

    Windows8 CP is running on the WMware workstation

    this is problem?

    thank you

    Tuesday, March 27, 2012 7:54 AM
  • Hello,

    so on a simple metro application it sounds like you are not getting the infrastructure error that you were getting on your main application?

    How much memory and hard disk space did you allocate to the virtual machine running Windows 8?

    much appreciated,

    mike

    Tuesday, March 27, 2012 6:22 PM
    Moderator
  • hi Mike

    Fixed my main pc today

    this is main pc specifications

    Component Details Subscore Base score
    Processor         : Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz 7.2 5.9
    Memory (RAM)      : 10.0 GB 7.2
    Graphics          : ATI Radeon HD 4800 Series (Engineering Sample - WDDM v1.1) 7.2
    Gaming graphics   : 5375 MB Total available graphics memory 7.2
    Primary hard disk : 87GB Free (452GB Total) 5.9
    Windows 8 Consumer Preview

    1. i running Microsoft.SDKSamples.ApplicationDataSample app -> Windows App Certification Kit

    Overall Score: FAILED

    Launch time performance

    FAILED
    Performance Launch
    • Error: Following results were encountered while running the Performance Launch test.
      • Infrastructure Error: Failure occurred while processing application ApplicationDataSample.App.  Please consider re-running the test and avoid interacting with the application while tests are running.
      • Exception:  Infrastructure Error: Failure occurred during testing, Error code -2147023504 occurred while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe.  Please consider re-running the test and  avoid interacting with the application while tests are running.
    • 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.   


    Suspend performance

    FAILED
    Performance Suspend
    • Error: Following results were encountered while running the Performance Suspend test.
      • Infrastructure Error: Failure occurred while processing application ApplicationDataSample.App.  Please consider re-running the test and avoid interacting with the application while tests are running.
      • Exception:  Infrastructure Error: Failure occurred during testing, Error code -2147023504 occurred while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe.  Please consider re-running the test and  avoid interacting with the application while tests are running.
    • 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.   


    Test Appx Manifest Resources

    PASSED
    Appx Manifest Resources Validation


    Debug App Check

    FAILED
    The App should not install any debug binaries.
    • Error: Following errors were encountered while running the Debug Binary Check test.
      • The binary ApplicationDataSample.exe is built in debug mode.
    • Impact if not fixed:       Windows Store policies do not allow submission of debug binaries. Please ensure that all submitted binaries are configured as release to avoid rejecting your submission.   
    • How to fix:       Binaries compiled as debug are known to fail this validation. Please always ensure your binary is compiled in release configuration and not debug configuration.   

    2. running my app Businfo20 -> Windows App Certification Kit

    Overall Score: FAILED

    Launch time performance

    FAILED
    Performance Launch
    • Error: Following results were encountered while running the Performance Launch test.
      • Infrastructure Error: Failure occurred while processing application App.  Please consider re-running the test and avoid interacting with the application while tests are running.
      • Exception:  Infrastructure Error: Failure occurred during testing, Error code -2147023504 occurred while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe.  Please consider re-running the test and  avoid interacting with the application while tests are running.
    • 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.   



    Suspend performance

    FAILED
    Performance Suspend
    • Error: Following results were encountered while running the Performance Suspend test.
      • Infrastructure Error: Failure occurred while processing application App.  Please consider re-running the test and avoid interacting with the application while tests are running.
      • Exception:  Infrastructure Error: Failure occurred during testing, Error code -2147023504 occurred while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe.  Please consider re-running the test and  avoid interacting with the application while tests are running.
    • 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.   



    Test Appx Manifest Resources

    PASSED
    Appx Manifest Resources Validation



    Debug App Check

    FAILED
    The App should not install any debug binaries.
    • Error: Following errors were encountered while running the Debug Binary Check test.
      • Failed to extract imported API information for this application.
    • Impact if not fixed:       Windows Store policies do not allow submission of debug binaries. Please ensure that all submitted binaries are configured as release to avoid rejecting your submission.   
    • How to fix:       Binaries compiled as debug are known to fail this validation. Please always ensure your binary is compiled in release configuration and not debug configuration.   

    it is same result

    i thing that by running in a virtual machine does not seem to

    thank you

    Wednesday, March 28, 2012 1:55 AM