gecko DOM access algorithm, Xulrunner viewing multiple tabs, improving javascript performance

View: New views
2 Messages — Rating Filter:   Alert me  

gecko DOM access algorithm, Xulrunner viewing multiple tabs, improving javascript performance

by mayank goel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

1. can someone direct me to some resources about the algorithm gecko
uses to find elements in the DOM. I am working on a web application
with a complex DOM and the performance issues are increasing as the
DOM is getting bigger.

2. Is there a way to view multiple tabs together, on different parts
of the screen, this way I can break my application into multiple small
applications and open them together in different tabs, that might
improve the performance.

3. Are there any setting that can be changed in a user preferences or
firefox settings that might improve performance.

the application will be running in a xul browser on the firefox 3.5
engine
Any other recommendations to improve the performance of a javascript -
ajax application will be great.


Thanks,
--Mayank.
_______________________________________________
dev-embedding mailing list
dev-embedding@...
https://lists.mozilla.org/listinfo/dev-embedding

Re: gecko DOM access algorithm, Xulrunner viewing multiple tabs, improving javascript performance

by Boris Zbarsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 9/30/09 10:29 AM, Mayank wrote:
> 1. can someone direct me to some resources about the algorithm gecko
> uses to find elements in the DOM.

In which situations?

> I am working on a web application
> with a complex DOM and the performance issues are increasing as the
> DOM is getting bigger.

That's not really much to go on.  It could be a DOM problem.  It could
be a layout problem.  It could be a JS problem.

If you have a mac or Linux you can do some profiling pretty easily.
Otherwise, if you can create a public testcase someone else can do that.

> 2. Is there a way to view multiple tabs together, on different parts
> of the screen

It's usually called a window manager, no?

> 3. Are there any setting that can be changed in a user preferences or
> firefox settings that might improve performance.

Typically we optimize for performance already, no?

> Any other recommendations to improve the performance of a javascript -
> ajax application will be great.

Profile it.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@...
https://lists.mozilla.org/listinfo/dev-embedding