What I usually look for in the Profile:

- Identify functions with biggest excl. time and try to optimize them
- Same for functions that are executed a lot of times
- Identify functions with a big difference between total time and
excl. time. It usually means that the function is doing something
costly in its body, like a big loop. Review the function code.
- Try to look for functions that are called more than normal. Example:
if function a() usually calls two times function b(), you should
expect b() total calls be 2x a() totals calls. If b() is called more
than 2x, there is something wrong in the code.
- Perform small GUI operations and check the profile output of each
individual action (in Firefox+Firebug you can start a profile session
from JavaScript, so you can profile each individual module). Then,
based on your knowledge about the application try to spot functions
that should be not called for that particular action or that have been
called a suspicious amount of times.
- If I recall correctly, IE9 allows you to see the functions call
stack as a tree structure. Maybe you can get more clues inspecting it.

--
S.Cinos
JavaScript Developer at Tuenti.com



2011/3/4 Andrew Dodson <[email protected]>:
> Is hardware accelerated enabled. Tools> Internet Options> Advanced.
> And does the performance improve if you shrink the window, I.e. to mobile
> size?
>
>>
>> On 4 Mar 2011 20:04, "Busticated" <[email protected]> wrote:
>>
>> Thanks all!
>>
>> Andrew -...
>
> -matt
>
> --
> To view archived discussions from the original JSMentors Mailman list:
> http://www.mail-a...
>
> --
> To view archived discussions from the original JSMentors Mailman list:
> http://www.mail-archive.com/[email protected]/
>
> To search via a non-Google archive, visit here:
> http://www.mail-archive.com/[email protected]/
>
> To unsubscribe from this group, send email to
> [email protected]
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to