vscode/test/unit/electron
Johannes Rieken 2d97803568
add ListenerRefusalError and ListenerLeakError which get logged when listener thresholds are exceeded. (#212900)
* add `ListenerRefusalError` and `ListenerLeakError` which get logged when listener thresholds are exceeded.

The `stack` property of these errors will point towards the most frequent listener and how often it is used. If that's a high number there is a leak (same listener is added over and over again), if that's a low number there might be a conceptual flaw that an emitter is simply too prominent.

* rightfully don't use Error.captureStackTrace (v8/nodejs only)
2024-05-16 08:29:17 -07:00
..
index.js fix incomplete coverage reports on macos (#212639) 2024-05-13 15:27:00 -07:00
renderer.html debt - more polish in global test reporter (#192774) 2023-09-11 17:16:16 +02:00
renderer.js add ListenerRefusalError and ListenerLeakError which get logged when listener thresholds are exceeded. (#212900) 2024-05-16 08:29:17 -07:00