Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

feat(portal): add caching interface to sw portal routing

#236Closed
Comparing
220-add-caching-interface-to-portal-routing
(
2b60e6d
) with
220-integrate-routing-to-portal
(
e86a2b6
)
CodSpeed Performance Gauge
-58%
Improvements
1
Regressions
1
Untouched
5
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

fetchPage: should successfully fetch the mocked landing page siteRegression
portal/common/lib/page_fetching.bench.ts::Page fetching with mocked network calls::fetchPage: should successfully fetch the mocked landing page site
CodSpeed Performance Gauge
-58%
9.2 ms
22.1 ms

Improved

decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress plaintext encoding
CodSpeed Performance Gauge
+14%
18 µs
15.9 µs

Passed

fetchPage: should successfully fetch a mocked page site using redirect
portal/common/lib/page_fetching.bench.ts::Page fetching with mocked network calls::fetchPage: should successfully fetch a mocked page site using redirect
CodSpeed Performance Gauge
+6%
23.1 ms
21.8 ms
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress deflate encoding
CodSpeed Performance Gauge
+3%
255.1 µs
247.4 µs
decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress gzip encoding
CodSpeed Performance Gauge
+3%
260.5 µs
253 µs
fetchResource: fetch the flatlander site (with redirects)
portal/common/lib/resource.bench.ts::Resource fetching with mocked network calls::fetchResource: fetch the flatlander site (with redirects)
CodSpeed Performance Gauge
0%
3.4 ms
3.4 ms
fetchResource: fetch the landing page site (no redirects)
portal/common/lib/resource.bench.ts::Resource fetching with mocked network calls::fetchResource: fetch the landing page site (no redirects)
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms

Commits

Click on a commit to change the comparison range
Base
220-integrate-routing-to-portal
e86a2b6
-47%
Add a routing cache interface to the common/lib
6c01780
4 months ago
by Tzal3x
-12%
Use IndexedDB API for routing_cache in SW portal
2b60e6d
4 months ago
by Tzal3x
Home Terms PrivacyDocs