perf_hooks: refactor internals
Refactor and simplify the perf_hooks native internals.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
perf_hooks
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Refactor and simplify the perf_hooks native internals.
make -j4 test
(UNIX), or vcbuild test
(Windows) passesperf_hooks