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), orvcbuild test
(Windows) passes -
commit message follows commit guidelines