https://github.com/harttle/script-style-performance
Performance test for script and style tags
https://github.com/harttle/script-style-performance
Last synced: 3 months ago
JSON representation
Performance test for script and style tags
- Host: GitHub
- URL: https://github.com/harttle/script-style-performance
- Owner: harttle
- License: mit
- Created: 2019-06-14T06:49:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T17:17:37.000Z (over 3 years ago)
- Last Synced: 2025-01-29T15:13:13.866Z (over 1 year ago)
- Language: HTML
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# script-style-performance
Performance test for script and style tags
## Result
Here's the result from a Macbook11.1:
Title | Total | Load | Render
--- | --- | --- | ---
Combined Scripts | 1727 | 985 | 961
Combined Styles | 1437 | 747 | 730
Separated Scripts | 2438 | 1744 | 1729
Separated Styles | 1701 | 1015 | 998
* Total: fetchStart -> loadEventEnd
* Load: domLoading -> loadEventEnd
* Render: domLoading -> domContentLoadedEventStart
## References
* https://developer.mozilla.org/zh-CN/docs/Web/API/PerformanceTiming
* https://developers.google.com/web/fundamentals/performance/critical-rendering-path/measure-crp?hl=zh-cn