I want to benchmark some Javascript code in the browser, but it may trigger Firefox\'s \"Warning: Unresponsive script\" popup. This allows the user to click \"Stop script\"
You can use the script from this question to break processing long lists into smaller chunks:
How can I give control back (briefly) to the browser during intensive JavaScript processing?