Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

IE 8 Can Profile JavaScript

, 8 Apr 2009 CPOL
Rate this:
Please Sign up or sign in to vote.
Being on the software "bleeding edge" is similar to being the "point man" in combat. I generally avoid being the first to adopt new technology until some other poor bastard has led the way…and occasionally paid a price: The price being missed deadlines, ulcers and ruined reputations. No thanks. How

Being on the software "bleeding edge" is similar to being the "point man" in combat. I generally avoid being the first to adopt new technology until some other poor soul has led the way…and occasionally paid a price: The price being missed deadlines, ulcers and ruined reputations. No thanks.

However, with Internet Explorer 8, for some inexplicable reason, I jumped right in. And I was pleasantly surprised. One of the nicest features is the new Developer Tools toolbar that comes with IE 8. Previously the Developer Toolbar was an add-on.

On the Developer Tools window there is a new Profiler tab. Since there have been recent performance issues on the Asp.Net forums where I'm a moderator, I thought I'd give it a spin.

  • I clicked Start Profiling.
  • I navigated to the Asp.Net forums website.
  • I waited for the page to finish loading. Having the Profiler running slows things down quite a bit…which is understandable.
  • After the page had finished loading, I clicked Stop Profiling.

It was that easy. The results are below. It appears the getAvatar function is taking a lot of time. If each call to getAvatar results in a database call, and each call results in an image being resized, that could explain why there are performance issues.

 

I hope you find this useful.

Steve Wellens.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Steve Wellens
EndWell Software, Inc.
United States United States
I am an independent contractor/consultant working in the Twin Cities area in Minnesota. I work in .Net, Asp.Net, C#, C++, XML, SQL, Windows Forms, HTML, CSS, etc., etc., etc.

Comments and Discussions

 
RantSwearing PinmemberSean@mkconsultants.eu8-Apr-09 2:19 
GeneralRe: Swearing PinmemberSteve Wellens8-Apr-09 4:52 
GeneralRe: Swearing PinmemberSean@mkconsultants.eu8-Apr-09 5:37 
GeneralRe: Swearing [modified] PinmemberSteve Wellens8-Apr-09 5:55 
GeneralRe: Swearing PinmemberNortonTower8-Apr-09 6:13 
GeneralRe: Swearing PinmemberSotaio8-Apr-09 7:19 
GeneralRe: Swearing PinmemberSteve Wellens8-Apr-09 7:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.1411022.1 | Last Updated 8 Apr 2009
Article Copyright 2009 by Steve Wellens
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid