You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue where wtr will slow to a near halt, usually timing out, upon encountering "complex" objects to log, which makes debugging tests considerably more difficult. Circular objects are sure to set it off (i.e., DOM nodes), but others with simply enough nesting will do it too. This also presents in the browser with --manual, I'm guessing due to something attempting to intercept all logs.
#1356 (comment) might be related and suggests this might be Mocha, but if so, are there any work arounds? Being able to quickly log a DOM node and other similarly "complex" objects to debug is a pretty crucial feature for my use, the current serializer, wherever it is, seems to really be struggling.
The text was updated successfully, but these errors were encountered:
The serialization seems to also be so slow as to cause significant issues with our tests that (unfortunately) require forms of await sleep(...); logging of any object at all is often taking upwards of 10-20ms, which is pretty non-representative.
I'm running into an issue where wtr will slow to a near halt, usually timing out, upon encountering "complex" objects to log, which makes debugging tests considerably more difficult. Circular objects are sure to set it off (i.e., DOM nodes), but others with simply enough nesting will do it too. This also presents in the browser with
--manual
, I'm guessing due to something attempting to intercept all logs.#1356 (comment) might be related and suggests this might be Mocha, but if so, are there any work arounds? Being able to quickly log a DOM node and other similarly "complex" objects to debug is a pretty crucial feature for my use, the current serializer, wherever it is, seems to really be struggling.
The text was updated successfully, but these errors were encountered: