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. C#
  4. measure performance of function

measure performance of function

Scheduled Pinned Locked Moved C#
comquestionc++sysadminwindows-admin
7 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.
  • G Offline
    G Offline
    George_George
    wrote on last edited by
    #1

    Hello everyone, I have a managed console application which invokes both managed DLL and native COM (by using COM interop). I am using VSTS 2008 and Windows Server 2003 x64 edition. My question is, I want to measure a specifc function call performance, e.g. from calling a function of managed console application, to managed DLL and to native COM. I also want to get the execution elapsed time for each function call stack from the top managed code level to bottom native level. Are there any tools or solutions? It is great if I only get the specific function call performance for each stack, overall performance is not needed. thanks in advance, George

    D S 2 Replies Last reply
    0
    • G George_George

      Hello everyone, I have a managed console application which invokes both managed DLL and native COM (by using COM interop). I am using VSTS 2008 and Windows Server 2003 x64 edition. My question is, I want to measure a specifc function call performance, e.g. from calling a function of managed console application, to managed DLL and to native COM. I also want to get the execution elapsed time for each function call stack from the top managed code level to bottom native level. Are there any tools or solutions? It is great if I only get the specific function call performance for each stack, overall performance is not needed. thanks in advance, George

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You'll need a profiling tool to do this. Compuware has a good one, and Red-Gate has its ANTS profiler. There are others, but those two I can recommend.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      G 1 Reply Last reply
      0
      • G George_George

        Hello everyone, I have a managed console application which invokes both managed DLL and native COM (by using COM interop). I am using VSTS 2008 and Windows Server 2003 x64 edition. My question is, I want to measure a specifc function call performance, e.g. from calling a function of managed console application, to managed DLL and to native COM. I also want to get the execution elapsed time for each function call stack from the top managed code level to bottom native level. Are there any tools or solutions? It is great if I only get the specific function call performance for each stack, overall performance is not needed. thanks in advance, George

        S Offline
        S Offline
        SeMartens
        wrote on last edited by
        #3

        Good one is also JetBrains dotTrace. Regards Sebastian

        It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

        G 1 Reply Last reply
        0
        • D Dave Kreskowiak

          You'll need a profiling tool to do this. Compuware has a good one, and Red-Gate has its ANTS profiler. There are others, but those two I can recommend.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          G Offline
          G Offline
          George_George
          wrote on last edited by
          #4

          Thanks Dave! 1. "Compuware has a good one" -- what is the name? I need the name to do some search. :-) 2. No .Net or VSTS built-in tool? regards, George

          D 1 Reply Last reply
          0
          • S SeMartens

            Good one is also JetBrains dotTrace. Regards Sebastian

            It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

            G Offline
            G Offline
            George_George
            wrote on last edited by
            #5

            It is not free? regards, George

            S 1 Reply Last reply
            0
            • G George_George

              It is not free? regards, George

              S Offline
              S Offline
              SeMartens
              wrote on last edited by
              #6

              No it is not... I think the Visual Studio Team Suite Edition has a built-in profiler...

              It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

              1 Reply Last reply
              0
              • G George_George

                Thanks Dave! 1. "Compuware has a good one" -- what is the name? I need the name to do some search. :-) 2. No .Net or VSTS built-in tool? regards, George

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                George_George wrote:

                what is the name? I need the name to do some search

                Oops. DevPartner Profiler.

                George_George wrote:

                No .Net or VSTS built-in tool?

                Nope. Maybe in VS2010, though I haven't poked around in it very much.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                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