sindresorhus/refined-github

The issue has been closed
Log feature performance #3032
fregante posted onGitHub
Some features may be slow: https://github.com/sindresorhus/refined-github/issues/3029
What if our init
runner also tracked the time and logged it together with the filename?
This would miss slowdowns that happen outside the init
(e.g. in click listeners) but it may be better than nothing.
The log
line would include something like time > 20 ? time + 'ms' : ''
, or even using log colors to highlight slow features (time > 40
)