@charlag On top of all this the debugger is also very slow.
Yesterday I got that warning that a script (something-with-codemirror.js) was slowing down the browser. CodeMirror wasn't used on the page I was debugging, but then it hit me - it is used for the debugger editor.
Maybe it was a mistake to base it on web technologies?