Skip to content

JS bundle optimization #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

beglov
Copy link

@beglov beglov commented Jun 6, 2024

После оптимизации проверка на установленный бюджет (он был немного увеличен) прошла:

rails-optimization-task6$ docker run --network=dev_to_default --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io http://web:3000/ -n 1 --budget.configPath homeBudget.json
Google Chrome 125.0.6422.60 
Mozilla Firefox 126.0
Microsoft Edge 124.0.2478.105 
[2024-06-06 18:52:57] INFO: Versions OS: linux 6.5.0-28-generic nodejs: v20.9.0 sitespeed.io: 34.1.0 browsertime: 22.4.0 coach: 8.0.2
[2024-06-06 18:52:57] INFO: Running tests using Chrome - 1 iteration(s)
[2024-06-06 18:52:58] INFO: Testing url http://web:3000/ iteration 1
[2024-06-06 18:53:07] INFO: Take after page complete check screenshot
[2024-06-06 18:53:07] INFO: Take cumulative layout shift screenshot
[2024-06-06 18:53:08] INFO: Take largest contentful paint screenshot
[2024-06-06 18:53:11] INFO: Use the visual metrics portable script
[2024-06-06 18:53:11] INFO: Get visual metrics from the video
[2024-06-06 18:53:12] INFO: http://web:3000/ 44 requests, TTFB: 241ms, firstPaint: 342ms, firstVisualChange: 367ms, FCP: 342ms, DOMContentLoaded: 695ms, LCP: 717ms, CLS: 0, TBT: 0ms, CPUBenchmark: 49ms, Load: 922ms, speedIndex: 427ms, visualComplete85: 400ms, lastVisualChange: 767ms
[2024-06-06 18:53:12] INFO: Budget: 1 working, 0 failing tests and 0 errors
[2024-06-06 18:53:13] INFO: HTML stored in /sitespeed.io/sitespeed-result/web/2024-06-06-18-52-57

Copy link
Collaborator

@spajic spajic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ особо нечего прокомментировать

хотелось бы ещё ремарочку почему от того что мы исключим библиотеки из vendor.js ничего нигде не сломается

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants