Closed sunilbandla closed 5 years ago
Thanks for optimizing!
My only problem with this is you left in the require to perf_hooks
with no fallback if it doesn't exist. perf_hooks
was added in 8.5.0 and I'd like to maintain backwards compatibility to at least 6.x for a while still.
If you can either remove that or make it optional, the rest looks good.
Thanks, I reverted that commit.
@Urthen Is this good to merge?
Thanks for merging. I will add this option to the readme after testing the next release for a few weeks.
Also, there's another possible improvement that can be made. Some folders are being read multiple times from the filesystem. It does not have a huge performance impact though. I will submit a PR for that soon.
@Urthen Could you please release this change?
Sorry this took so long, fell off my radar over the holidays.
2.2.0 is released.
Tests passed locally.