FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Switch to blob().text() for faster fetch parsing by Ulternae · Pull Request #80 · cloudflare/speedtest · GitHub

Switch to blob().text() for faster fetch parsing - #80

Closed
Ulternae wants to merge 1 commit into
cloudflare:mainfrom
Ulternae:fast-fetch
Closed

Ulternae wants to merge 1 commit into
cloudflare:mainfrom
Ulternae:fast-fetch

Conversation

Ulternae commented Apr 4, 2026
edited
Loading

Copy link
Copy Markdown

This PR improves download speed measurement accuracy by replacing response.text() with response.blob().text().

response.text() was introducing significant JS-side backpressure, which throttled the effective TCP throughput and caused download measurements to be much lower than expected. Using response.blob().text() avoids that issue and produces more accurate results.

Original PR : dmeremianina

Semver label: patch

It looks like there are no available semver labels, or I don’t have permission to add them. Could a maintainer please add the patch label? This PR is a non-breaking performance improvement.

github-actions Bot commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Please set a semver versioning label of either major, minor, or patch on this pull request.

Ulternae marked this pull request as draft April 4, 2026 19:10
Ulternae marked this pull request as ready for review April 4, 2026 19:10
Ulternae marked this pull request as draft April 4, 2026 19:11
Ulternae marked this pull request as ready for review April 4, 2026 19:13

Copy link
Copy Markdown
Collaborator

Will close this PR, since I'm reviewing #76 which has the same fix.

andre-j3sus closed this Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL