Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

feat(contract): Add range field to Resource

#234Merged
Comparing
170-feature-store-multiple-site-resources-as-a-single-blob
(
ed3cf40
) with
gg/move/upgrade
(
13e6c07
)
CodSpeed Performance Gauge
-53%
Improvement
1
Regression
1
Untouched
5

Benchmarks

7 total
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
-53%
4.8 ms10.1 ms
decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData
CodSpeed Performance Gauge
+13%
18 µs15.9 µs
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
+6%
51.1 ms48 ms
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData
CodSpeed Performance Gauge
+3%
255.3 µs247.3 µs
decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData
CodSpeed Performance Gauge
+3%
260.6 µs253.4 µs
fetchResource: fetch the flatlander site (with redirects)
portal/common/lib/resource.bench.ts::Resource fetching with mocked network calls
CodSpeed Performance Gauge
0%
3.4 ms3.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
0%
1.4 ms1.4 ms

Commits

Click on a commit to change the comparison range
Base
gg/move/upgrade
13e6c07
-46.08%
Add range field to Resource
1af6286
1 year ago
by Tzal3x
×2.7
Use Range struct to define the resource bytes inside the blob
095f5a3
1 year ago
by Tzal3x
Add tests for new_resource
991133c
1 year ago
by Tzal3x
+1.77%
Publish the new contract & update constants and builder-example.yaml
ce69202
1 year ago
by Tzal3x
+11.8%
Fix compiler-version in Move.lock
5ce58db
1 year ago
by Tzal3x
×3
Use new_range() function
a868d2c
1 year ago
by Tzal3x
Refactor assertion ERangeEndShouldNotBeZero
982b556
1 year ago
by Tzal3x
+46.43%
Publish new contract and update constants & builder-example
7b81882
1 year ago
by Tzal3x
-84.86%
Publish new contract and update wherever
ed3cf40
1 year ago
by Tzal3x
© 2026 CodSpeed Technology
Home Terms Privacy Docs