DarkLeafyGreen
DarkLeafyGreen

Reputation: 70416

How to avoid and fix performance problems in firefox extensions

I am facing some performence problems with my firefox extension. I just started developing with firefox and have really view code for now.

For now I just perform some form validation which sometimes freezses the the whole form.

I am curious about your advice. What programming techniques enhance the performance?

Update: it seems that following code causes the extension to freeze for 1-2 sec. when the timer reaches 5000.

setTimeout(function(){
    notify.setAttribute("style", "display:none;");
}, 5000);

Upvotes: 0

Views: 144

Answers (1)

Mihailo
Mihailo

Reputation: 764

As far as XUL development goes, most of it is just like developing a web page (with a bit extended API).

Upvotes: 1

Related Questions