Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource calculator: rework to calculate multiple deployment phases at once #4532

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

MonsieurNicolas
Copy link
Contributor

Description

This PR updates the calculator with the following:

  • "speedex++" model (modeled as "light Soroban" for now)
  • Meta & Events calculation
  • Emits different phases over multiple cells

Copy link
Contributor

@anupsdf anupsdf left a comment

Choose a reason for hiding this comment

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

Verified it runs using Google colab, https://colab.research.google.com/drive/1komhIbIg56XRjP2AAdjPPTkADWWUpXpM?usp=sharing

(I haven't dug deeper though, will play with it later)

@anupsdf anupsdf added this pull request to the merge queue Nov 2, 2024
Merged via the queue into stellar:master with commit 9630614 Nov 2, 2024
13 checks passed
" # write as much as possible, use max allowed per tx\n",
" # note that this also impacts the total of amount read per tx\n",
" # but as tx also need to load wasm blobs, in average is probably fine\n",
" LE_size['soroban'] = (65*1024)/LE_writes_per_op['soroban']\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

We have bumped this tx_max_write_bytes from 65 to 129 KiB.

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.

2 participants