Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

feat(portal): Improve fetchResource performance

#208Merged
Comparing
198-improve-checkredirect-calls-inside-fetchresource
(
ecb1df6
) with
main
(
48b1d22
)
CodSpeed Performance Gauge
-22%
Improvements
1
Regressions
1
Untouched
5
New
0
Dropped
0
Ignored
2

Benchmarks

Failed

fetchResource: fetch the flatland walrus siteRegression
portal/common/lib/page_fetching.bench.ts::Page fetching::fetchResource: fetch the flatland walrus site
CodSpeed Performance Gauge
-22%
20.3 ms
26 ms

Improved

fetchResource: fetch the flatlander walrus site
portal/common/lib/page_fetching.bench.ts::Page fetching::fetchResource: fetch the flatlander walrus site
CodSpeed Performance Gauge
+33%
16.3 ms
12.2 ms

Passed

decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress plaintext encoding
CodSpeed Performance Gauge
+1%
16 µs
15.9 µs
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress deflate encoding
CodSpeed Performance Gauge
0%
248.5 µs
247.7 µs
fetchResource: fetch the landing page walrus site
portal/common/lib/page_fetching.bench.ts::Page fetching::fetchResource: fetch the landing page walrus site
CodSpeed Performance Gauge
0%
16.8 ms
16.7 ms
decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress gzip encoding
CodSpeed Performance Gauge
0%
253.3 µs
253.1 µs
fetchResource: fetch the flatland walrus site
portal/common/lib/resource.bench.ts::Resource fetching::fetchResource: fetch the flatland walrus site
CodSpeed Performance Gauge
0%
9 ms
9.1 ms

Ignored

fetchResource: fetch the flatlander walrus siteIgnored
portal/common/lib/resource.bench.ts::Resource fetching::fetchResource: fetch the flatlander walrus site
CodSpeed Performance Gauge
-6%
18.8 ms
19.9 ms
fetchResource: fetch the landing page walrus siteIgnored
portal/common/lib/resource.bench.ts::Resource fetching::fetchResource: fetch the landing page walrus site
CodSpeed Performance Gauge
+35%
13.1 ms
9.8 ms

Commits

Click on a commit to change the comparison range
Base
main
48b1d22
-22%
Prefetch checkRedirect
ecb1df6
5 months ago
by Tzal3x
Home Terms PrivacyDocs