Performance Web Test + dotTrace - visual-studio-2010

I've tried to figure out if there is a way to tell dotTrace to perform a profile analysis based on a performance test project.
Or run this test while dotTrace is monitoring the project (running in a Web Development server).
So far I didn't find any solution to it, but I think that this would be a perfect situation, as many times, when I run a profiling, I use always the same browsing flow.
I'm using dotTrace 5.0 EAP that is supposed to have a command line tool, but I can't find any documentation about it and I don't even know if this could help me.
Anyone has an idea on how I could achieve this?

Related

How to do spring batch application performance analysis and tuning in Intellij?

I have a Spring batch application that runs in the VM, it takes 2 hours to process 10k records.
We are planning to migrate the application to Azure kubernetes and I see that the migrated application takes 6 hours.
I need to make the necessary changes to meet the current performance.
We didn't make any major changes in the code.
How do I do profiling to analysis the performance issues in Intellij? Is there any other way to find the cause for the performance impact.
Note : I don't have appDynamic.
The question is not really specific to Spring Batch per se, but if you want to profile a Java application with IntelliJ IDEA, you can run the app from within the IDE (or outside the IDE) and attach a profiler to it, see Profiling tools. This feature is only available in IntelliJ IDEA ultimate edition.
There are open source profilers that you can use as well, see Open Source Java Profilers.

Opensource alternative to Azure Application Insights?

Application Insights has a great feature that can open an execption in Visual Studio and then debug with the current state of all the variables and objects.
I have been looking around for a open source alternative that can do the same, but I have not found anything similar. What I want to achive is quite simple. I want to dump all the state of my objects/variables when an exception occours, save it somewhere and then later on be able to load it into Visual Studio.
Any ideas how to achieve this?
Application Insights appears to be an Application Performance Monitoring tool.
These generally seem to be language/platform specific, but the best known open source alternative I could find is called insepctIT, which is for the Java ecosystem.
It appears that you can cobble together multiple tools to get the same job done in other ecosystems, OpenAPM seems to have a tool that lets you compare different pieces of the overall APM workflow and put together a monitoring solution for your app.
I realize this doesn't solve the specifics of your question related to debugging in Visual Studio, but it could help others that run across this question on google.

selenium run slows down application performance drastically

I run selenium tests for a web application we are developing.It eats up all memory at the server and server performance falls exponentially.Most of the times application gets completely down or gets very very slow.
2 hour of Automation script run is enough to permanently halt the server(so that other profiles hosted on the sever do not work).
What can be the possible reason behind it? and How to overcome it?
I use selenium RC for test execution.
I think you need to speak to the IT department, and ask them to analyse the logs to figure out what's different on this particular server. It's not really possible for anybody here to answer your question without a lot more data.

"JAVA code" performance analysis

We have a struts application and there are concerns regarding its performance. We are using Tomcat6 and Java6 for our application.
Could anyone please suggest an easy to use analysis tool to analyze the performance of the JAVA code. It would really be helpful if we can get the step by step method to integrate our application with the analyzer and then get the output in a graphical and data format.
We actually need to know the exact time consumption in method level so that we can work on that method to increase the performance.
We need it urgently. Please help. Many many thanx in advance.
There are several profiling tools out there for java that suit your needs. Just google for java and profiler...
But you should have in mind only improve your performance if you have figured out a problem. To figure out if there is a real performance problem setup a test-environment that mimics the actual production environment (generate data you would expect in an production environment). So it is possible for you to do some testing and figure out if the response of the app is too slow and therefore unacceptable for an end-user. Afterwards do some analytical work and only do performance improvements if there is a need to do this.

Visual Studio 2010 Web Performance Test / Load tests / Coded UI Tests. ANYONE REALLY USE THESE?

I can find some articles on how to use them but I can't seem to find anywhere peoples impression of them using them in real projects. I have been trying to figure out how to use them and I've had alot of problems.
Can someone out there who uses these tools on the job give me thier impression? Are there better alternate tools available? Using these really just a waste of time?
With Coded UI Tests I see how they are good for basic javascript checking but its so basic of a example I don't think it is worth it. With web tests I like how they work but when I activate code coverage/ASP.NET profiling it doesnt work half the time.
I tried both Selenium and Coded UI for integration testing the project I am working on. I wrote a blog article with my impressions.
The bottom line for me is that both Selenium and Coded UI are still far from perfect, but better than manual testing. I am using Selenium right now, though I might revisit CodedUI if a few things would be fixed in a later version.
experience with Selenium and VS Coded UI test for web apps.
Better than manual testing in my eyes, though the tests are at times hard to maintain and often need to be changed manually to make them more robust. Both tools have browser plugins which can generate tests automatically, but this code is generally not very resilient towards changes in the HTML (in case of web apps).
You will be disappointed if you expect an automated test run orders of magnitude faster than a manual tester. I think the aim of the vendors is to get the automated test execute aboit twice as fast as a manual tester (that can feel painfully slow if you have a large set of tests).
I have used both selenium 1.0 (currently deprecated 2.0 for my dev environment) and visual studio 2010 web testing. There is no doubt, vs 2010 web testing tool is by far (and i mean by far) better than selenium 1.0 and 2.0 (in beta now) in terms of tooling, robustness and the different kinds of metric you can measure (load balance analysis etc). The one good thing also is that it can run your tests in firefox and other browsers as well(provided you have those browsers installed - i believe. Not sure on that one). Selenium is good and have been around for a while. Has a lot of community support but... it can be frustrating. They are currently in transition to 2.0 so I think things will get better and improve after 2.0. In short, if your development environment is .NET with vs 2010, you will get the best ROI by using of the web testing tools.
Disclaimer: I don't work for Microsoft and I am in no way affiliated with MS. My comment above is based on my experience and my only.
As with (most) all Microsoft tools they will do the job--provided you read plenty of materials to understand how to use them and you understand their limitations. If you are looking for full-featured, high-quality, relatively intuitive tools then look to RedGate.
Microsoft tools will do everything, but nothing terribly well.

Resources