Well... simple question, right? But with no so simple answers. In firefox i use firebug console (profile) but... what to do in other browsers? Like Internet Explorer / Opera / Safari (on windows)
This might not be a simple question to answer.But certain things has to be keep in mind while using or working with javascript.There are no hard and fast rules but I can think of some which I had done previously.Avoid circular refernces of javascript objects.This is particularly important to avoid memory leaks.Another important thing is garbage collecting of objects when they are no more referenced. You can Google for optimizing ways some are effective too!!
no, no. I don't want a tool to do this. I want a way to measure timing performance, what functions are called and so on. Something somehow similar to Profile from firebug (which i don't know to use at 100%, but i can handle it :P ) For example, few days ago i had a site which had a endless loop and bring my cpu at 100%. In firefox i figured out who is the guilty mo fo very fast... How can i handle similar situation in IE (6/7), for example?
This particular problem solves itself over time. ;-)
Version 8 of the Internet Explorer (currently in beta 2) ships with a built-in JavaScript profiler. The next Safari version will probably also include one since its rendering engine, WebKit, now has one as part of its Web Inspector.
Try out Firebug Lite. I am not sure whether it will solve your purpose fully.
Nope, firebug LITE has only few capabilities of full firebug. And profile is not one of them :(
This page contains some suggestions:
http://www.newearthonline.co.uk/index.php?page=article&article=338&pagenum=2
Yahoo provides a Javascript profiler, you may want have a look at that one.
i don't really want to include a script, because sometimes i overuse jquery and i don't want any conflicts. Anyway, i will try those scripts ;)