doc: clarify about the Node.js-only extensions in perf_hooks
- Add clarifications for Node.js-only extensions
- Explain the Web Performance APIs implemented in Node.js and clarify that perf_hooks also include other non-Web APIs.
- Prefix exposed interfaces with
perf_hooks.
to distinguish them from internal classes.
Refs: https://github.com/nodejs/node/issues/28635
cc @jasnell
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines