Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9148599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:19:16+00:00 2026-06-17T11:19:16+00:00

Currently I am noticing my automated tests (CodedUI) are running a bit slow at

  • 0

Currently I am noticing my automated tests (CodedUI) are running a bit slow at times. I want to run a performance profiling tool on them as they run through VS2010. I have tried to use Red Gate’s ANTs Profiler but am confused as to what process (or other?) I am supposed to attach it to.

The closest I came was by starting the Profiler from commandline and having a Mstest.exe call that runs a few tests as the process argument. This only returns me VS method performance and not my own test code.

//e.g
Profile.exe /e:"Mstest /testcontainer:Tests\bin\debug\CodedUITests.dll /test:Login /unique" /csv:"C:\testing\results.csv"

I constructed this command from here and here.

Does anyone know a clean way to kick off a group of tests with a cpu/memory profiler (locally or otherwise) and then read the results?

Available machines in order of preference: Windows 7/XP/Server 2008 R2
Can run from: VS2010, or as part of a Build (TFS/Lab Management)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:19:18+00:00Added an answer on June 17, 2026 at 11:19 am

    After reading into it further I found that I needed to instrument my binaries in order for the profiler to know about my methods at runtime. I did this using VSInstr which will convert the test dll into an instrumented one. Then when I run the profiler with my above command line the profiler works.

    i.e

    • Run: VSinstr.exe Your.Tests.dll
    • Open the ANTs Profiler.
    • Select Mstest.exe as the .Net Executable.
    • Set the test projects bin\Debug folder as the Working Directory.
    • In the arguments place:
      /testcontainer:C:\...\YOURTests\bin\debug\Your.Tests.dll /test:LoginTest
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm noticing exponential performance degradation in MySQL query execution times when queries include calls
I'm currently testing an OpenID implementation, and I'm noticing that Google sends a different
I'm currently working on an iPad app to run in iOS 6 I've implemented
I'm currently working with Spring 3 MVC, and in my JSP templates I'm noticing
I'm currently running dotCover as a part of my MSTest build step in TeamCity.
I'm currently learning node.js and loving it. I noticing, however, that it seems that's
Hello I am currently working with a AT91SAM7X256 running on bare metal. I have
Currently, I am writing a MiddleWare application that synchronizes information between and accounting application
Currently I am using HTML files for parts of my user interface. I display
currently, I`m implementing a map App with Mono4Droid and there I`m using a WebView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.