This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Repository navigation
Best practices and gotchas with v8
polotek edited this page Feb 24, 2011
·
5 revisions
If you have a function that has performance critical code in it (particularly if it's allocating a lot of variables), then don't use a try/catch inside the function. Catch the errors from outside the function instead. See this mailing list thread for background and this performance test case.