3 Replies - 3348 Views - Last Post: 05 September 2012 - 02:30 AM

#1 StefanOnRails  Icon User is offline

  • D.I.C Head

Reputation: 35
  • View blog
  • Posts: 105
  • Joined: 31-July 12

Why is JQuery Slow on Firefox?

Posted 04 September 2012 - 10:47 AM

Hi guys,

I've been working with JQuery earlier and I realized that slideDown() / slideUp() functions are rendered pretty slow in Firefox. I mean, there's a visible difference between Firefox and Chrome and I don't understand why? The time is set to 500 miliseconds, so it should go fast (well it does, but not in Firefox).

Did anyone else has this issue before? Please give me a hint on how to solve this problem if you did. Thanks :)

This post has been edited by StefanOnRails: 04 September 2012 - 10:51 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Why is JQuery Slow on Firefox?

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 5954
  • View blog
  • Posts: 23,222
  • Joined: 23-August 08

Re: Why is JQuery Slow on Firefox?

Posted 04 September 2012 - 01:20 PM

Moved to jQuery.

Short answer: different Javascript engines
Was This Post Helpful? 0
  • +
  • -

#3 e_i_pi  Icon User is offline

  • = -1
  • member icon

Reputation: 782
  • View blog
  • Posts: 1,663
  • Joined: 30-January 09

Re: Why is JQuery Slow on Firefox?

Posted 04 September 2012 - 02:42 PM

What version are you running? jQuery 1.8 has improved animation code, as can be seen here.

Also, some Firefox versions (11-14 I think?) have memory issues, which would cause any Javascript to potentially run slower than it would on other browsers that don't have those memory issues.
Was This Post Helpful? 0
  • +
  • -

#4 StefanOnRails  Icon User is offline

  • D.I.C Head

Reputation: 35
  • View blog
  • Posts: 105
  • Joined: 31-July 12

Re: Why is JQuery Slow on Firefox?

Posted 05 September 2012 - 02:30 AM

Solved. Apparently it was my bad programming the one who caused the Firefox latency. After a little clean up I managed to improve the way it's rendered in Firefox. I updated my Firefox and JQuery versions, but it still seems to work a little slower comparing to Chrome. Anyway, thanks guys :).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1