如何准确弄清PHP卷曲数据的位置,然后解析放慢速度

发布于 2025-02-13 01:33:06 字数 302 浏览 1 评论 0 原文

我有一个PHP脚本,可以通过卷发从Google获取XML RSS提要,然后解析和格式化以显示在网页上。几年来,HTML页面将立即加载,现在上个月,显示大约需要0.5秒钟。我不确定是否会放缓是通过检索内容或解析数据而放缓。

实际的RSS网页立即加载我的Web浏览器

我不确定如何调试 减速

I have a PHP script that grabs an XML RSS feed from Google via CURL and then parses and formats it for display on a web page. For several years the HTML page would load instantly, now for that last month it takes about .5 seconds to display. I'm not sure if the slowdown is from retrieving the content or from parsing the data.

The actual RSS web page loads in my web browser instantly
https://news.google.com/rss?hl=en-US&gl=US&ceid=US:en

I'm not sure how to go about debugging the slowdown

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文