-
-
Save azu/8ff0ad4cc7db6dade239671bf8ca3be4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { PerformanceMetadataMarker } from "performance-mark-metadata"; | |
const nodePerformanceHook = require("perf_hooks"); | |
const performance = nodePerformanceHook.performance; | |
const marker = new PerformanceMetadataMarker({ | |
performance | |
}); | |
marker.mark("name", { | |
details: { key: "value" } | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment