MystenLabs
walrus-sites
BlogDocsChangelog

feat(portal): mock system calls to reduce benchmark variance

#227Merged
Comparing
213-incorrect-performance-results-on-benchmarks-due-to-system-calls
(
0bf746f
) with
main
(
bcf47ce
)
CodSpeed Performance Gauge
0%
Untouched
3
New
4
Dropped
1
Ignored
5

Benchmarks

Failed

fetchResource: fetch the flatland walrus site
portal/common/lib/resource.bench.ts::Resource fetching
Missing
CodSpeed Performance Gauge
N/A
9.1 msN/A

New

fetchResource: fetch the flatlander site (with redirects)
portal/common/lib/resource.bench.ts::Resource fetching with mocked network calls
CodSpeed Performance Gauge
N/A
N/A3.4 ms
fetchPage: should successfully fetch the mocked landing page site
portal/common/lib/page_fetching.bench.ts::Page fetching with mocked network calls
CodSpeed Performance Gauge
N/A
N/A59.4 ms
fetchPage: should successfully fetch a mocked page site using redirect
portal/common/lib/page_fetching.bench.ts::Page fetching with mocked network calls
CodSpeed Performance Gauge
N/A
N/A5.4 ms
fetchResource: fetch the landing page site (no redirects)
portal/common/lib/resource.bench.ts::Resource fetching with mocked network calls
CodSpeed Performance Gauge
N/A
N/A1.4 ms

Passed

decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData
CodSpeed Performance Gauge
0%
15.9 µs15.9 µs
decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData
CodSpeed Performance Gauge
0%
253.7 µs253.6 µs
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData
CodSpeed Performance Gauge
0%
248.6 µs248.6 µs

Ignored

fetchResource: fetch the landing page walrus site
portal/common/lib/resource.bench.ts::Resource fetching
Ignored
CodSpeed Performance Gauge
N/A
9.7 msN/A
fetchPage: fetch the flatland walrus site
portal/common/lib/page_fetching.bench.ts::Page fetching
Ignored
CodSpeed Performance Gauge
N/A
23.9 msN/A
fetchPage: fetch the flatlander walrus site
portal/common/lib/page_fetching.bench.ts::Page fetching
Ignored
CodSpeed Performance Gauge
N/A
12.2 msN/A
fetchPage: fetch the landing page walrus site
portal/common/lib/page_fetching.bench.ts::Page fetching
Ignored
CodSpeed Performance Gauge
N/A
13.3 msN/A
fetchResource: fetch the flatlander walrus site
portal/common/lib/resource.bench.ts::Resource fetching
Ignored
CodSpeed Performance Gauge
N/A
19.8 msN/A

Commits

Click on a commit to change the comparison range
Base
main
bcf47ce
-44.06%
feat: refactor headers to use map and simplify mock implementations
a8f02d2
1 year ago
-2.65%
refactor: remove unused constants
b928ee3
1 year ago
by chariskms
+46.86%
Add comments and fix Resource.headers in mocks
0bf746f
1 year ago
by Tzal3x
© 2025 CodSpeed Technology
Home Terms Privacy Docs