Current time: 01-19-2021, 01:07 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU Utilization
11-18-2017, 03:44 PM
Post: #3
RE: CPU Utilization
Hi Patrick,

Is there way to get the CPU utilization data for the JS (loads, executes) in every step if my script has a multi step flow. Will this data be available in the results xml file for particular job id. Ex:

Thanks !

(06-17-2010 11:01 AM)pmeenan Wrote:  The CPU utilization line is the CPU utilization of just the browser process that is running the test (same as you would see in task manager) on a fixed scale from 0-100% (sampled in 0.1 sec intervals).

There are lots of things that cause the CPU utilization to spike but javascript is a very common contributor (particularly if there are gaps in the waterfall where the CPU is pegged at 100% - telltale sine of javascript that needs optimizing). The CPU will also get exercised as the browser figures out how to layout the page and apply styles and finally, the testing itself can also introduce some spikes (really short spikes when the screen shots are taken for example). If you capture a video then the impact of recording the screen shots will be higher.

Usually if I see something that looks suspicious I'll load it up into Dynatrace Ajax Edition (great free profiler for IE) and run the page through to see if anything jumps out. I'd love to integrate the capture of the profiling data at some point in the future.

Even though it wouldn't really impact the numbers, right now only one test is ever executing on a given machine at a time. We can (and have) run configurations with multiple tests at the same time but when video capture was introduced it killed our ability to run in parallel. I'm experimenting with running the tests in VM's to see if I can get more testing capacity out of the hardware because the machines are pretty beefy and could easily handle 8+ tests in parallel but I won't do it if it introduces any variability into the results.

Hope that helps,

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
CPU Utilization - - 06-17-2010, 10:16 AM
RE: CPU Utilization - pmeenan - 06-17-2010, 11:01 AM
RE: CPU Utilization - svg - 11-18-2017 03:44 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)