submissions(htlc, linear_vesting): refresh from plinth-cape-submissions#5#207
Open
Unisay wants to merge 1 commit into
Open
submissions(htlc, linear_vesting): refresh from plinth-cape-submissions#5#207Unisay wants to merge 1 commit into
Unisay wants to merge 1 commit into
Conversation
…-submissions main
Paired update for plinth-cape-submissions#5 (merge commit fbb37dd):
- HTLC compile splice moved into lib/HTLC.hs with per-module inliner
pragma (inline-unconditional-growth=110).
- LinearVesting compile splice moved into lib/LinearVesting.hs (the
stale 1.45-line "splice lives in Main.hs" workaround was actively
suppressing BuiltinCasing on the preview line).
Apples-to-apples (same measure binaries as the previous metrics):
htlc/Plinth_1.64.0.0_Unisay (production, 1.45 evaluator):
cpu_units.sum 421 244 729 -> 356 473 569 (-15.4%)
memory_units.sum 1 311 150 -> 1 034 842 (-21.1%)
script_size_bytes 1 554 -> 4 135 (+166%, intentional inliner trade-off)
term_size 1 230 -> 4 580 (+272%)
htlc/Plinth_1.64.0.0_Unisay_builtincasing (preview, 1.64 evaluator):
cpu_units.sum 421 234 306 -> 206 281 649 (-51.0%)
memory_units.sum 1 311 150 -> 681 069 (-48.1%)
script_size_bytes 1 554 -> 4 198 (+170%)
term_size 1 230 -> 4 584 (+273%)
linear_vesting/Plinth_1.64.0.0_Unisay (production):
cpu_units.sum 2 290 868 647 -> 2 293 227 790 (+0.10%)
memory_units.sum 7 858 775 -> 7 859 242 (~0)
script_size_bytes 2 207 -> 1 569 (-28.9%)
term_size 1 901 -> 1 757 (-7.6%)
linear_vesting/Plinth_1.64.0.0_Unisay_builtincasing (preview):
cpu_units.sum 2 290 874 204 -> 1 519 946 425 (-33.6%)
memory_units.sum 7 858 775 -> 5 597 371 (-28.8%)
script_size_bytes 2 207 -> 1 304 (-40.9%)
term_size 1 901 -> 1 467 (-22.8%)
All 25 HTLC + 29 LinearVesting cape-tests pass on each variant.
Source commit pointer (metadata.json + source/README.md) bumped
to fbb37ddd6ba6ea6fd29312494a32a3074ba332b0 across all four
submissions.
Contributor
🚀 PR Preview DeployedPreview URL: https://intersectmbo.github.io/UPLC-CAPE/pr-207/ The preview site is automatically updated on every push to this PR and will be removed when the PR is closed. |
There was a problem hiding this comment.
Pull request overview
Refreshes the HTLC and Linear Vesting Plinth submissions to match plinth-cape-submissions commit fbb37ddd6ba6ea6fd29312494a32a3074ba332b0, updating the tracked source pointers and regenerated artifacts (UPLC + metrics) for both production and BuiltinCasing (preview) variants.
Changes:
- Bump
source_commit_hashandsource/README.mdreproduction instructions tofbb37ddd6ba6ea6fd29312494a32a3074ba332b0across the affected submissions. - Update
metrics.jsonfor HTLC + Linear Vesting (production + BuiltinCasing) to reflect new measurements. - Refresh
linear_vesting.uplcto the newly generated program.
Reviewed changes
Copilot reviewed 12 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay/source/README.md | Updates tracked upstream source commit + checkout instructions. |
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay/metrics.json | Refreshes production-line measurement outputs (1.45 evaluator). |
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay/metadata.json | Bumps source_commit_hash and notes to the new upstream commit. |
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay/linear_vesting.uplc | Updates the compiled UPLC artifact to match the new upstream source. |
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay_builtincasing/source/README.md | Updates tracked upstream source commit + checkout instructions. |
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay_builtincasing/metrics.json | Refreshes preview-line measurement outputs (1.64 evaluator). |
| submissions/linear_vesting/Plinth_1.64.0.0_Unisay_builtincasing/metadata.json | Bumps source_commit_hash and notes to the new upstream commit. |
| submissions/htlc/Plinth_1.64.0.0_Unisay/source/README.md | Updates tracked upstream source commit + checkout instructions. |
| submissions/htlc/Plinth_1.64.0.0_Unisay/metrics.json | Refreshes production-line measurement outputs (1.45 evaluator). |
| submissions/htlc/Plinth_1.64.0.0_Unisay/metadata.json | Bumps source_commit_hash and notes to the new upstream commit. |
| submissions/htlc/Plinth_1.64.0.0_Unisay_builtincasing/source/README.md | Updates tracked upstream source commit + checkout instructions. |
| submissions/htlc/Plinth_1.64.0.0_Unisay_builtincasing/metrics.json | Refreshes preview-line measurement outputs (1.64 evaluator). |
| submissions/htlc/Plinth_1.64.0.0_Unisay_builtincasing/metadata.json | Bumps source_commit_hash and notes to the new upstream commit. |
4 tasks
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Paired update for Unisay/plinth-cape-submissions#5 (merge commit
fbb37dd).lib/HTLC.hswith a per-module inliner pragma (inline-unconditional-growth=110), selected by a CPU-sum × script-size sweep.lib/LinearVesting.hs. The old "splice lives in Main.hs" workaround dated from the 1.45 line's parallellib/Preview/LinearVesting.hstree; when preview was collapsed into a cabal flag, the workaround stayed by inertia and was actively suppressing BuiltinCasing on the preview line.Apples-to-apples (same
measure/measure-previewbinaries as the previous metrics):HTLC's script size growth is the deliberate trade-off from the inliner sweep (uncond=110 was the leftmost value on the CPU plateau; the script-size curve is documented in
lib/HTLC.hsin the source repo).All 25 HTLC + 29 LinearVesting
cape-testspass on each variant.source_commit_hashand the correspondingsource/README.mdpointers bumped tofbb37ddd6ba6ea6fd29312494a32a3074ba332b0across all four submissions.Test plan