rmannibucau opened a new pull request, #18107: URL: https://github.com/apache/iceberg/pull/18107
Follow up of the [list issue](https://lists.apache.org/thread/hstl6z6qp55hxgdlljpc5xg8wc3kq800) with the home page eating 100% of one core. The Lottie player kept rendering even when the animation was offscreen, and its SVG renderer burns a core while visible. Replacing it with a pre-rendered muted looping video (rendered from the same Lottie file) drops this to a few percent, and removes the vendored, now-archived lottie-player bundle. New animation (`site/docs/assets/videos/hidden-partitioning.mp4`, 860x744, 40s loop, 296 KB): https://github.com/user-attachments/assets/36a10aff-a734-4412-ad07-f31cce7988cf Lottie vs video (Chrome on macOS, visible window, 15s average, % of one core): | Scenario | Lottie | Video | |---|---|---| | Live home page, animation offscreen (renderer) | 38% (9% with Lottie blocked) | n/a, paused by browser | | Live home page, animation on screen (renderer + GPU) | 38% + 71% (11% + 7% with Lottie blocked) | | | Animation alone on a blank page (renderer + GPU) | 30% + 97% | 1% + 4% | | Main-thread task time per 10s, animation alone | 1966 ms | 7 ms | Format comparison, same setup: | Format | Size | CPU (renderer + GPU) | |---|---|---| | Lottie (before) | 440 KB | 30% + 97% | | MP4 (H.264) | 296 KB | 2% + 6% | | GIF (860px, 30fps) | 12.8 MB | 6% + 9% | | Animated WebP | 4.4 MB | 8% + 5% | --- **AI Disclosure** - Model: Claude Opus 5.5 - Platform/Tool: GitHub Copilot - Human Oversight: I checked everything manually 😄 - Prompt Summary: Replace the Lottie animation with a pre-rendered video to fix home page CPU usage -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
