Page MenuHomePhabricator

Debug mode for Special:JavaScriptTest is unusable
Closed, DuplicatePublic

Description

Debug mode for Special:JavaScriptTest is unusable for me because even with filtering it spends over a minute loading all the files.

Event Timeline

This is a known issue. Due to the way debug mode currently works, it has to serially load each file in your modules. This means for bundles with many hundreds of files (e.g. Wikibase, CX, VE), it is painfully slow.

This is not an issue with the QUnit runner, but rather is something about debug mode in general. I'm going to merge this into T85805, which covers this issue.

@Nikerabbit I'd like your input at T85805. Specifically, I'm hoping to capture what use cases you enable debug mode for (compared to using prod mode and the browser's built-in prettification). That'll help decide what the new debug mode is going to have, and what it will not have.