Skip to content

Conversation

carlpulley-da
Copy link
Contributor

@carlpulley-da carlpulley-da commented Aug 11, 2025

  • Wire up Speedy pure builtins to cost model
  • Wire up Speedy builtins to cost model overflow

@carlpulley-da carlpulley-da self-assigned this Aug 11, 2025
@carlpulley-da carlpulley-da linked an issue Aug 11, 2025 that may be closed by this pull request
@carlpulley-da carlpulley-da changed the base branch from main to remy/cost-model August 11, 2025 19:28
@carlpulley-da carlpulley-da changed the base branch from remy/cost-model to main August 12, 2025 08:44
@carlpulley-da carlpulley-da changed the base branch from main to remy/cost-model August 13, 2025 16:25
Copy link
Collaborator

@remyhaemmerle-da remyhaemmerle-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty nice.
I will separate the "cost model", that just says what is the cost of all primitves, from the "budget" that tracks of the total cost.

@remyhaemmerle-da remyhaemmerle-da marked this pull request as ready for review August 15, 2025 07:21
@remyhaemmerle-da remyhaemmerle-da requested a review from a team as a code owner August 15, 2025 07:21
@remyhaemmerle-da remyhaemmerle-da merged commit 3cd3aba into remy/cost-model Aug 15, 2025
14 of 15 checks passed
@remyhaemmerle-da remyhaemmerle-da deleted the cjp/issue-21635-pure-builtins branch August 15, 2025 07:22
remyhaemmerle-da pushed a commit that referenced this pull request Aug 15, 2025
…1668)

* Implement Daml/Engine cost model infrastructure for pure builtins

* Add in checks for pure builtins being within cost budgets

* Build fixes

* grpc parser fixes

* More ci fixes

* script service protobuf fixes

* compiler fixes

* doc sync

* Move Cost.Error into Dev scope

* build fix

* doc sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Daml/Engine cost model infrastructure
2 participants