Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

PHP 8.5 release page causes excessive GPU usage due to animated SVG background

Đang mở
#2,032 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, php
Lĩnh vực
frontend, performance

Hướng nghiên cứu

Start with the .hero-bg SVG and its CSS animations on the PHP 8.5 release page at /releases/8.5/en.php; compare GPU usage with the background disabled and check whether a prefers-reduced-motion fallback is present. Done means the decorative background no longer causes excessive GPU usage while idle, with reduced-motion preferences respected.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug Status: Needs Triage
Affected Page URL

https://www.php.net/releases/8.5/en.php

Describe the bug

The PHP 8.5 release page causes unusually high and continuous GPU usage while the page is idle.

On my system, simply leaving the page open results in approximately:

  • Firefox: 75–100% GPU usage
  • Microsoft Edge: ~12% GPU usage

There is no user interaction occurring and the page is otherwise completely idle.

The issue appears to be caused by the animated SVG used as .hero-bg in the hero section.

The SVG contains three full-size <rect> elements using radial gradients. Each one is wrapped in nested <g> elements and several independent infinite CSS transform animations are applied:

.hero-orb-1-x { animation: hero-orb1-x 10s linear infinite alternate }
.hero-orb-1-y { animation: hero-orb1-y 10.5s linear infinite alternate }
.hero-orb-1-r { animation: hero-orb-rotate-fwd 7s linear infinite }

.hero-orb-2-x { animation: hero-orb2-x 11.5s linear infinite alternate }
.hero-orb-2-y { animation: hero-orb2-y 12s linear infinite alternate }
.hero-orb-2-r { animation: hero-orb-rotate-fwd 12s linear infinite }

.hero-orb-3-x { animation: hero-orb3-x 12.5s linear infinite alternate }
.hero-orb-3-y { animation: hero-orb3-y 6s linear infinite alternate }
.hero-orb-3-r { animation: hero-orb-rotate-rev 9s linear infinite }
Steps to reproduce
  1. Open https://www.php.net/releases/8.5/en.php in Firefox.
  2. Leave the page idle on the hero section for a few seconds.
  3. Open Windows Task Manager and check GPU utilization.
  4. Observe that GPU utilization rises to approximately 100% and remains very high while the page is visible.
  5. Disable or remove the .hero-bg SVG / its animations in DevTools and observe the GPU utilization.
Expected behavior

An idle release/documentation page should consume negligible GPU resources.

A purely decorative background animation should not continuously saturate or significantly load the GPU.

Screenshots
Image
Additional context

The screenshot was taken in Firefox on Windows with an NVIDIA GeForce RTX 4070 Laptop GPU. GPU utilization reaches 100% while the page is simply displayed and no user interaction is taking place.

For comparison, Microsoft Edge on the same page uses approximately 12% GPU, which is substantially lower but still unusually high for a decorative background effect.

The performance issue appears to be associated with the animated .hero-bg SVG. It contains three full-size radial-gradient rectangles with multiple nested, continuously running CSS transform animations.

The current implementation also does not appear to provide a prefers-reduced-motion fallback for these animations.

Ngôn ngữ chính
PHP
Star
1.1k
Fork
641
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của php/web-php

Tất cả issue của php/web-php

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.