Created
March 6, 2019 19:18
-
-
Save yepitschunked/358fdac4d49fda83b2d9796f0212acd8 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
var resolve = require('../resolve'); | |
var performance = require('perf_hooks').performance; | |
for(var i = 0; i < 10000; i++) { | |
resolve.sync('./frontend/homes-pdp-marketplace/components/Policies.jsx'); | |
} | |
console.log(performance.getEntriesByName('parsePkg').reduce((sum, e) => sum + e.duration, 0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment