Skip to content
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

feat: add task performance widget #2461

Merged
merged 3 commits into from
Apr 15, 2024
Merged

Conversation

valerydluski
Copy link
Contributor

🟢 Add deploy label if you want to deploy this Pull Request to staging environment

🧑‍⚖️ Pull Request Naming Convention

  • Title should follow Conventional Commits
  • Do not put issue id in title
  • Do not put WIP in title. Use Draft PR functionality
  • Consider to add area:* label(s)
  • I followed naming convention rules

🤔 This is a ...

  • New feature
  • Bug fix
  • Performance optimization
  • Refactoring
  • Test Case
  • Documentation update
  • Other

🔗 Related issue link

Describe the source of requirement, like related issue link.

💡 Background and solution

image
image

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Database migration is added or not needed
  • Documentation is updated/provided or not needed
  • Changes are tested locally

@valerydluski valerydluski requested a review from a team April 15, 2024 08:47
Copy link

📦 Next.js Bundle Analysis for client

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 111.01 KB (🟡 +17 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Fifty-five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (500 KB)
/ 292.92 KB 403.94 KB 80.79% (🟡 +0.01%)
/404 227.66 KB 338.68 KB 67.74% (🟡 +0.01%)
/admin/courses 388.58 KB 499.6 KB 99.92% (🟡 +0.01%)
/admin/disciplines 333.66 KB 444.68 KB 88.94% (🟡 +0.01%)
/admin/discord-server 360.49 KB 471.5 KB 94.30% (🟡 +0.01%)
/admin/events 361.1 KB 472.11 KB 94.42% (🟡 +0.01%)
/admin/mentor-registry 384.59 KB 495.61 KB 99.12% (🟡 +0.01%)
/admin/notifications 399.53 KB 510.54 KB 102.11% (🟡 +0.01%)
/admin/prompts 340.94 KB 451.96 KB 90.39% (🟡 +0.01%)
/admin/registrations 332.83 KB 443.85 KB 88.77% (🟡 +0.01%)
/admin/tasks 445.62 KB 556.63 KB 111.33% (🟡 +0.01%)
/admin/user-group 384.54 KB 495.55 KB 99.11% (🟡 +0.01%)
/admin/users 275.63 KB 386.65 KB 77.33% (🟡 +0.01%)
/applicants 315.86 KB 426.88 KB 85.38% (🟡 +0.01%)
/course/admin/cross-check-table 474.13 KB 585.15 KB 117.03% (🟡 +0.01%)
/course/admin/dashboard 289.16 KB 400.17 KB 80.03% (🔴 +7.03%)
/course/admin/events 442.58 KB 553.6 KB 110.72% (🟡 +0.01%)
/course/admin/interviews 383.32 KB 494.34 KB 98.87% (🟡 +0.01%)
/course/admin/mentors 389.58 KB 500.6 KB 100.12% (🟡 +0.01%)
/course/admin/stage-interviews 384.91 KB 495.93 KB 99.19% (🟡 +0.01%)
/course/admin/students 397.6 KB 508.62 KB 101.72% (🟡 +0.02%)
/course/admin/tasks 416.49 KB 527.51 KB 105.50% (🟡 +0.01%)
/course/admin/users 383.35 KB 494.36 KB 98.87% (🟡 +0.01%)
/course/interview/[type]/feedback 348.85 KB 459.86 KB 91.97% (🟡 +0.01%)
/course/mentor/auto-confirm 229.9 KB 340.91 KB 68.18% (🟡 +0.01%)
/course/mentor/confirm 296.69 KB 407.71 KB 81.54% (🟡 +0.01%)
/course/mentor/dashboard 404.23 KB 515.24 KB 103.05% (🟡 +0.01%)
/course/mentor/expel-student 300.71 KB 411.73 KB 82.35% (🟡 +0.01%)
/course/mentor/feedback 302.78 KB 413.79 KB 82.76% (🟡 +0.01%)
/course/mentor/interview-technical-screening 269 KB 380.02 KB 76.00% (🟡 +0.02%)
/course/mentor/interview-wait-list 341.86 KB 452.87 KB 90.57% (🟡 +0.02%)
/course/mentor/interviews 352.91 KB 463.92 KB 92.78% (🟡 +0.02%)
/course/mentor/students 252.84 KB 363.86 KB 72.77% (🟡 +0.01%)
/course/schedule 486.58 KB 597.6 KB 119.52% (🟡 +0.01%)
/course/score 342.1 KB 453.12 KB 90.62% (🟡 +0.02%)
/course/student/auto-test 394.04 KB 505.05 KB 101.01% (🟡 +0.01%)
/course/student/auto-test/task 393.95 KB 504.96 KB 100.99% (🟡 +0.01%)
/course/student/cross-check-review 488.5 KB 599.52 KB 119.90% (🟡 +0.02%)
/course/student/cross-check-submit 504.71 KB 615.73 KB 123.15% (🟡 +0.01%)
/course/student/dashboard 400.3 KB 511.31 KB 102.26% (🟡 +0.01%)
/course/student/interviews 306.77 KB 417.78 KB 83.56% (🟡 +0.01%)
/course/submit-scores 417.41 KB 528.42 KB 105.68% (🟡 +0.02%)
/course/team-distributions 385.54 KB 496.55 KB 99.31% (🟡 +0.01%)
/course/teams 432.05 KB 543.07 KB 108.61% (🟡 +0.02%)
/cv/[uuid] 247.85 KB 358.86 KB 71.77% (🟡 +0.01%)
/cv/edit 351.87 KB 462.89 KB 92.58% (🟡 +0.01%)
/gratitude 295.17 KB 406.19 KB 81.24% (🟡 +0.01%)
/heroes 401.56 KB 512.58 KB 102.52% (🟡 +0.01%)
/job 173.93 KB 284.94 KB 56.99% (🟡 +0.01%)
/profile 411.7 KB 522.71 KB 104.54% (🟡 +0.01%)
/profile/connection-confirmed 269.16 KB 380.18 KB 76.04% (🟡 +0.01%)
/profile/notifications 334 KB 445.02 KB 89.00% (🟡 +0.02%)
/registry/epamlearningjs 296.15 KB 407.17 KB 81.43% (🟡 +0.02%)
/registry/mentor 347.24 KB 458.26 KB 91.65% (🟡 +0.01%)
/registry/student 347.23 KB 458.25 KB 91.65% (🟡 +0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Copy link

📦 Next.js Bundle Analysis for client

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 111.02 KB (🟡 +19 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Fifty-five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (500 KB)
/ 292.92 KB 403.94 KB 80.79% (🟡 +0.01%)
/404 227.66 KB 338.68 KB 67.74% (🟡 +0.01%)
/admin/courses 388.58 KB 499.6 KB 99.92% (🟡 +0.01%)
/admin/disciplines 333.66 KB 444.68 KB 88.94% (🟡 +0.01%)
/admin/discord-server 360.49 KB 471.5 KB 94.30% (🟡 +0.01%)
/admin/events 361.1 KB 472.12 KB 94.42% (🟡 +0.01%)
/admin/mentor-registry 384.59 KB 495.61 KB 99.12% (🟡 +0.01%)
/admin/notifications 399.53 KB 510.54 KB 102.11% (🟡 +0.01%)
/admin/prompts 340.94 KB 451.96 KB 90.39% (🟡 +0.01%)
/admin/registrations 332.83 KB 443.85 KB 88.77% (🟡 +0.01%)
/admin/tasks 445.62 KB 556.63 KB 111.33% (🟡 +0.01%)
/admin/user-group 384.54 KB 495.55 KB 99.11% (🟡 +0.01%)
/admin/users 275.63 KB 386.65 KB 77.33% (🟡 +0.01%)
/applicants 315.86 KB 426.88 KB 85.38% (🟡 +0.01%)
/course/admin/cross-check-table 474.13 KB 585.15 KB 117.03% (🟡 +0.01%)
/course/admin/dashboard 289.16 KB 400.17 KB 80.03% (🔴 +7.03%)
/course/admin/events 442.58 KB 553.6 KB 110.72% (🟡 +0.01%)
/course/admin/interviews 383.32 KB 494.34 KB 98.87% (🟡 +0.01%)
/course/admin/mentors 389.58 KB 500.6 KB 100.12% (🟡 +0.01%)
/course/admin/stage-interviews 384.91 KB 495.93 KB 99.19% (🟡 +0.01%)
/course/admin/students 397.6 KB 508.62 KB 101.72% (🟡 +0.02%)
/course/admin/tasks 416.49 KB 527.51 KB 105.50% (🟡 +0.01%)
/course/admin/users 383.35 KB 494.36 KB 98.87% (🟡 +0.01%)
/course/interview/[type]/feedback 348.85 KB 459.86 KB 91.97% (🟡 +0.01%)
/course/mentor/auto-confirm 229.9 KB 340.91 KB 68.18% (🟡 +0.01%)
/course/mentor/confirm 296.69 KB 407.71 KB 81.54% (🟡 +0.01%)
/course/mentor/dashboard 404.23 KB 515.24 KB 103.05% (🟡 +0.01%)
/course/mentor/expel-student 300.71 KB 411.73 KB 82.35% (🟡 +0.01%)
/course/mentor/feedback 302.78 KB 413.79 KB 82.76% (🟡 +0.01%)
/course/mentor/interview-technical-screening 269 KB 380.02 KB 76.00% (🟡 +0.02%)
/course/mentor/interview-wait-list 341.86 KB 452.88 KB 90.58% (🟡 +0.01%)
/course/mentor/interviews 352.91 KB 463.92 KB 92.78% (🟡 +0.02%)
/course/mentor/students 252.84 KB 363.86 KB 72.77% (🟡 +0.01%)
/course/schedule 486.58 KB 597.6 KB 119.52% (🟡 +0.01%)
/course/score 342.1 KB 453.12 KB 90.62% (🟡 +0.02%)
/course/student/auto-test 394.04 KB 505.05 KB 101.01% (🟡 +0.01%)
/course/student/auto-test/task 393.95 KB 504.97 KB 100.99% (🟡 +0.02%)
/course/student/cross-check-review 488.5 KB 599.52 KB 119.90% (🟡 +0.02%)
/course/student/cross-check-submit 504.71 KB 615.73 KB 123.15% (🟡 +0.01%)
/course/student/dashboard 400.3 KB 511.32 KB 102.26% (🟡 +0.01%)
/course/student/interviews 306.77 KB 417.78 KB 83.56% (🟡 +0.01%)
/course/submit-scores 417.41 KB 528.42 KB 105.68% (🟡 +0.02%)
/course/team-distributions 385.54 KB 496.56 KB 99.31% (🟡 +0.01%)
/course/teams 432.05 KB 543.07 KB 108.61% (🟡 +0.02%)
/cv/[uuid] 247.85 KB 358.86 KB 71.77% (🟡 +0.01%)
/cv/edit 351.87 KB 462.89 KB 92.58% (🟡 +0.01%)
/gratitude 295.17 KB 406.19 KB 81.24% (🟡 +0.01%)
/heroes 401.56 KB 512.58 KB 102.52% (🟡 +0.01%)
/job 173.93 KB 284.94 KB 56.99% (🟡 +0.01%)
/profile 411.7 KB 522.71 KB 104.54% (🟡 +0.01%)
/profile/connection-confirmed 269.16 KB 380.18 KB 76.04% (🟡 +0.01%)
/profile/notifications 334 KB 445.02 KB 89.00% (🟡 +0.02%)
/registry/epamlearningjs 296.15 KB 407.17 KB 81.43% (🟡 +0.02%)
/registry/mentor 347.24 KB 458.26 KB 91.65% (🟡 +0.01%)
/registry/student 347.23 KB 458.25 KB 91.65% (🟡 +0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

1 similar comment
Copy link

📦 Next.js Bundle Analysis for client

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 111.02 KB (🟡 +19 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Fifty-five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (500 KB)
/ 292.92 KB 403.94 KB 80.79% (🟡 +0.01%)
/404 227.66 KB 338.68 KB 67.74% (🟡 +0.01%)
/admin/courses 388.58 KB 499.6 KB 99.92% (🟡 +0.01%)
/admin/disciplines 333.66 KB 444.68 KB 88.94% (🟡 +0.01%)
/admin/discord-server 360.49 KB 471.5 KB 94.30% (🟡 +0.01%)
/admin/events 361.1 KB 472.12 KB 94.42% (🟡 +0.01%)
/admin/mentor-registry 384.59 KB 495.61 KB 99.12% (🟡 +0.01%)
/admin/notifications 399.53 KB 510.54 KB 102.11% (🟡 +0.01%)
/admin/prompts 340.94 KB 451.96 KB 90.39% (🟡 +0.01%)
/admin/registrations 332.83 KB 443.85 KB 88.77% (🟡 +0.01%)
/admin/tasks 445.62 KB 556.63 KB 111.33% (🟡 +0.01%)
/admin/user-group 384.54 KB 495.55 KB 99.11% (🟡 +0.01%)
/admin/users 275.63 KB 386.65 KB 77.33% (🟡 +0.01%)
/applicants 315.86 KB 426.88 KB 85.38% (🟡 +0.01%)
/course/admin/cross-check-table 474.13 KB 585.15 KB 117.03% (🟡 +0.01%)
/course/admin/dashboard 289.16 KB 400.17 KB 80.03% (🔴 +7.03%)
/course/admin/events 442.58 KB 553.6 KB 110.72% (🟡 +0.01%)
/course/admin/interviews 383.32 KB 494.34 KB 98.87% (🟡 +0.01%)
/course/admin/mentors 389.58 KB 500.6 KB 100.12% (🟡 +0.01%)
/course/admin/stage-interviews 384.91 KB 495.93 KB 99.19% (🟡 +0.01%)
/course/admin/students 397.6 KB 508.62 KB 101.72% (🟡 +0.02%)
/course/admin/tasks 416.49 KB 527.51 KB 105.50% (🟡 +0.01%)
/course/admin/users 383.35 KB 494.36 KB 98.87% (🟡 +0.01%)
/course/interview/[type]/feedback 348.85 KB 459.86 KB 91.97% (🟡 +0.01%)
/course/mentor/auto-confirm 229.9 KB 340.91 KB 68.18% (🟡 +0.01%)
/course/mentor/confirm 296.69 KB 407.71 KB 81.54% (🟡 +0.01%)
/course/mentor/dashboard 404.23 KB 515.24 KB 103.05% (🟡 +0.01%)
/course/mentor/expel-student 300.71 KB 411.73 KB 82.35% (🟡 +0.01%)
/course/mentor/feedback 302.78 KB 413.79 KB 82.76% (🟡 +0.01%)
/course/mentor/interview-technical-screening 269 KB 380.02 KB 76.00% (🟡 +0.02%)
/course/mentor/interview-wait-list 341.86 KB 452.88 KB 90.58% (🟡 +0.01%)
/course/mentor/interviews 352.91 KB 463.92 KB 92.78% (🟡 +0.02%)
/course/mentor/students 252.84 KB 363.86 KB 72.77% (🟡 +0.01%)
/course/schedule 486.58 KB 597.6 KB 119.52% (🟡 +0.01%)
/course/score 342.1 KB 453.12 KB 90.62% (🟡 +0.02%)
/course/student/auto-test 394.04 KB 505.05 KB 101.01% (🟡 +0.01%)
/course/student/auto-test/task 393.95 KB 504.97 KB 100.99% (🟡 +0.02%)
/course/student/cross-check-review 488.5 KB 599.52 KB 119.90% (🟡 +0.02%)
/course/student/cross-check-submit 504.71 KB 615.73 KB 123.15% (🟡 +0.01%)
/course/student/dashboard 400.3 KB 511.32 KB 102.26% (🟡 +0.01%)
/course/student/interviews 306.77 KB 417.78 KB 83.56% (🟡 +0.01%)
/course/submit-scores 417.41 KB 528.42 KB 105.68% (🟡 +0.02%)
/course/team-distributions 385.54 KB 496.56 KB 99.31% (🟡 +0.01%)
/course/teams 432.05 KB 543.07 KB 108.61% (🟡 +0.02%)
/cv/[uuid] 247.85 KB 358.86 KB 71.77% (🟡 +0.01%)
/cv/edit 351.87 KB 462.89 KB 92.58% (🟡 +0.01%)
/gratitude 295.17 KB 406.19 KB 81.24% (🟡 +0.01%)
/heroes 401.56 KB 512.58 KB 102.52% (🟡 +0.01%)
/job 173.93 KB 284.94 KB 56.99% (🟡 +0.01%)
/profile 411.7 KB 522.71 KB 104.54% (🟡 +0.01%)
/profile/connection-confirmed 269.16 KB 380.18 KB 76.04% (🟡 +0.01%)
/profile/notifications 334 KB 445.02 KB 89.00% (🟡 +0.02%)
/registry/epamlearningjs 296.15 KB 407.17 KB 81.43% (🟡 +0.02%)
/registry/mentor 347.24 KB 458.26 KB 91.65% (🟡 +0.01%)
/registry/student 347.23 KB 458.25 KB 91.65% (🟡 +0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@valerydluski valerydluski merged commit 32f1e2e into master Apr 15, 2024
6 checks passed
@valerydluski valerydluski deleted the feat/add_task_perfomance_widget branch April 15, 2024 11:52
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