newrelic / nr1-browser-analyzer

NR1 Browser Analyzer allows you to understand the impact and performance of your website.
https://github.com/newrelic/nr1-browser-analyzer/discussions
Apache License 2.0
19 stars 22 forks source link

fix(perf): replace momentjs with pretty-ms Issue #26 #33

Closed devfreddy closed 4 years ago

devfreddy commented 4 years ago

Issue #26.

Cuts total package size by ~50%.

devfreddy commented 4 years ago

Note:

Formatting does change a little bit, duration formatting utilized 'milliseconds' and 'seconds', pretty-ms uses 'ms' and 's'. Ultimately I think that's better given the space constraints in the UI while still clearly communicating units to the user.

devfreddy commented 4 years ago

:tada: This PR is included in version 1.1.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: