Click here to Skip to main content
12,398,000 members (46,294 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

21.5K views
3 bookmarked
Posted

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.

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.

You may also be interested in...

Comments and Discussions

 
RantSwearing Pin
Sean@mkconsultants.eu8-Apr-09 1:19
memberSean@mkconsultants.eu8-Apr-09 1:19 
GeneralRe: Swearing Pin
Steve Wellens8-Apr-09 3:52
memberSteve Wellens8-Apr-09 3:52 
GeneralRe: Swearing Pin
Sean@mkconsultants.eu8-Apr-09 4:37
memberSean@mkconsultants.eu8-Apr-09 4:37 
GeneralRe: Swearing [modified] Pin
Steve Wellens8-Apr-09 4:55
memberSteve Wellens8-Apr-09 4:55 
GeneralRe: Swearing Pin
NortonTower8-Apr-09 5:13
memberNortonTower8-Apr-09 5:13 
GeneralRe: Swearing Pin
Sotaio8-Apr-09 6:19
memberSotaio8-Apr-09 6:19 
GeneralRe: Swearing Pin
Steve Wellens8-Apr-09 6:44
memberSteve Wellens8-Apr-09 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web01 | 2.8.160721.1 | Last Updated 8 Apr 2009
Article Copyright 2009 by Steve Wellens
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid