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 9121083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:46:47+00:00 2026-06-17T05:46:47+00:00

People here are using visual studio for performance testing. Now there are some small

  • 0

People here are using visual studio for performance testing. Now there are some small issues with some javascript parts: they are not able to check the performance of the javascript part with visual studio web-performance testing.

I never used visual studio performance test, so I really have no idea how to bench stuff there, but I saw there are a lot of solutions for web + js performance check. I thought we could use other tools and frameworks, but its not allowed. People here want to use visual studio for everything. So this is making stuff more tricky.

If I would have to check the javascript performance, I would easily do something like this:

var begin = new Date();
functionA();
functionB();
functionX();
var end = new Date();
var bench = end - begin;

At the end I can see in the variable bench my result. Now I just have to pass this variable “somehow” to the visual studio performance test? Via C#? Or how is this stuff working? Could this be a good solution? Any other ideas?

  • 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-17T05:46:48+00:00Added an answer on June 17, 2026 at 5:46 am

    I don’t think it’s possible because VS Performance Test Engine doesn’t run any client-side code at all, it works on HTTP level only. So the code you provided as an example would never be run.

    Take a look here for the proof – http://msdn.microsoft.com/en-us/library/ff520100.aspx

    Because the Web Performance Test Engine works at the HTTP layer, it
    does not run client-side scripting like JavaScript or ActiveX
    controls. Web Performance Tests are concerned with generating load on
    a server.. Therefore,, client-side scripting that only affects the
    appearance of a Web page is not significant to the Web Performance
    Test. Client-side scripting that sets parameter values or results in
    additional HTTP requests, such as AJAX, does affect the load on the
    server and might require you to manually modify the Web Performance
    Test to simulate the scripting.

    A common misconception is that because recording occurs in Internet
    Explorer, and the Web Performance Test Result Viewer displays results
    in a browser control, Web performance tests must somehow execute using
    Internet Explorer. This is not the case. All requests are executed
    directly using the Web Performance Test Engine; no interaction with
    Internet Explorer or any other browser occurs. The Web Performance
    Test Engine communicates directly with the target Web server using
    standard HTTP request/response messages.

    So the only way would be to use other solutions to check javascript performance, or implement your own, based on Selenium for example. I think it’s possible to automate such measurements using Selenium RC which can be run from Visual Studio as a part of a build (if your requirement is to use Visual Studio for everything).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some time ago, people here helped me very well with code. Now I'm tasked
Here and there people keep talking about memory leaks which occur due unreleased event
Here is the thing. Right now I have this e-commerce web site where people
I've been using MS Visual Studio for a lot of projects, but I notice
I am new to using Microsoft development tools but have been using Visual Studio
I've done a large study into using MVC and thanks to the people here
I suppose there are people who encountered underscore problem, so I found something here:
I'm using Visual Studio 2012, and I've downloaded NUnit 2.6.1 to run Unit Tests
I'm curious to know, what people here think about using org.apache.commons.lang.builder EqualsBuilder / HashCodeBuilder
I am using Visual Studio 2010. I thought for SVN I can use TortoiseSVN

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.