Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
17 Views

Profiling HTML code for different web browser

Hi, I had wrote an HTML5 script to play video on web browser. I would like to find out the CPU and GPU usage for different web browser when running my HTML5 script but I don't know the method or it that possible to do it.

Thank you.

Tags (2)
0 Kudos
3 Replies
Highlighted
Employee
17 Views

I recommend accessing the developer tools for all of the browsers that you are interested in validating your video playback. Chrome, Firefox and Internet Explorer has tools commonly found under their settings.

0 Kudos
Highlighted
Beginner
17 Views

But different web browser might have different algorithms to do profiling. So is that possible to use Intel VTune Amplifier to profiling my HTML5 script on different web browser?

0 Kudos
Highlighted
17 Views

You can profile any app running on your desktop with Vtune, but you won't be able to profile the HTML5 part directly, Vtune profiles the low-level interaction with the processor. If you do your testing carefully, you might be able to deduce what JavaScript actions are resulting in performance issues, etc. But most of that behavior is going to be a function of the browser's JS interpreter, which you may not be able to do much about. I recommend you use the built in JavaScript profile tools that are provided by the browsers if you want to understand how your JS is behaving on a specific browser.

0 Kudos