Skip to content

util: add computeTime option to inspect

This adds a limit to the maximum computation time while using util.inspect(). That makes sure the event loop is not blocked for to long even though still having a good output in pretty much all cases.

Fixes: #19405 (closed)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading