Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  22] [ 5]  / answers: 1 / hits: 21101  / 14 Years ago, mon, may 10, 2010, 12:00:00

I've got some Javascript code which uses fairly deep recursion and I'd like to find out what the recursion limits in the various browsers are (i.e. the point at which the error too much recursion will happen).



Anyone have any solid numbers on this, by version?


More From » recursion

 Answers
7

Nicholas C. Zakas writes in his blog:





  • Internet Explorer 7: 1,789

  • Firefox 3: 3,000

  • Chrome 1: 21,837

  • Opera 9.62: 10,000

  • Safari 3.2: 500




There's some more data on different browsers and OSs here.



I've created a Browserscope test to get more data. Please run it here.



Update:



The results above are now obsolete, but the browserscope results are updated :




  • IE 11: 12,064

  • Firefox 65: 20,614

  • Chrome 72: 9,643

  • Opera 57: 9,638

  • Safari 12: 32,035


[#96823] Friday, May 7, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jarod

Total Points: 62
Total Questions: 111
Total Answers: 83

Location: Saint Vincent and the Grenadines
Member since Sat, Sep 11, 2021
3 Years ago
;