Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. How to measure cold startup time

How to measure cold startup time

Scheduled Pinned Locked Moved WPF
csharpwpftutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krishnan s
    wrote on last edited by
    #1

    Hi, I have two problems which iam listing below: 1. I need to measure the exact cold start up time for WPF application. I tried measuring the startup time manually, but its showing very inconsistent value. Sometime its showing 11 sec but sometime 3 secs. Can anyone please tell me the exact reason for this inconsistency and any way i can measure the exact start up time for the WPF application . 2.Is it possible to measure the startup time module wise, like (Presentation framework loading time, PresentationCore loading time, Windows Base loading time, FontService startuptime an finally application startup time). Thanks

    P realJSOPR 2 Replies Last reply
    0
    • K krishnan s

      Hi, I have two problems which iam listing below: 1. I need to measure the exact cold start up time for WPF application. I tried measuring the startup time manually, but its showing very inconsistent value. Sometime its showing 11 sec but sometime 3 secs. Can anyone please tell me the exact reason for this inconsistency and any way i can measure the exact start up time for the WPF application . 2.Is it possible to measure the startup time module wise, like (Presentation framework loading time, PresentationCore loading time, Windows Base loading time, FontService startuptime an finally application startup time). Thanks

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      If you're concerned about cold start time, this[^] should be your bible.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys | Onyx

      K 1 Reply Last reply
      0
      • P Pete OHanlon

        If you're concerned about cold start time, this[^] should be your bible.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        K Offline
        K Offline
        krishnan s
        wrote on last edited by
        #3

        Thanks for the reply ,Actually this article talks about only the improvement points for performance. I need to know how exactly to measure the startup time as it shows different value for different trials. Thanks

        P 1 Reply Last reply
        0
        • K krishnan s

          Thanks for the reply ,Actually this article talks about only the improvement points for performance. I need to know how exactly to measure the startup time as it shows different value for different trials. Thanks

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          The big problem you've got is that the "best" way to see the times is to instrument the code that you want profiling, and this has an effect on the startup time as well (which can also lead to skewed results if you don't happen to profile the item that is really affecting the startup time). At the bottom of the blog there's a list of related entries that may well be of some interest to you in helping further your investigation.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          1 Reply Last reply
          0
          • K krishnan s

            Hi, I have two problems which iam listing below: 1. I need to measure the exact cold start up time for WPF application. I tried measuring the startup time manually, but its showing very inconsistent value. Sometime its showing 11 sec but sometime 3 secs. Can anyone please tell me the exact reason for this inconsistency and any way i can measure the exact start up time for the WPF application . 2.Is it possible to measure the startup time module wise, like (Presentation framework loading time, PresentationCore loading time, Windows Base loading time, FontService startuptime an finally application startup time). Thanks

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            As it boots up, start counting out loud... One thousand one, one thousand two, one thousand three...

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups