Skip to content

src: simplify `TimerFunctionCall()` in `node_perf.cc`

Picking a path according to a boolean is essentially free, compared to the cost of a function call. Also, remove an unnecessary TryCatch.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading