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

Create a cost analysis tutorial / resource #482

Closed
leighmcculloch opened this issue Aug 23, 2023 · 5 comments
Closed

Create a cost analysis tutorial / resource #482

leighmcculloch opened this issue Aug 23, 2023 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@leighmcculloch
Copy link
Member

We don't currently have a page that talks concretely and practically with examples for how to evaluate the cost of a contract, and how to improve the efficiency of contract functions.

This page should probably be in the form of a tutorial with a concrete example of how to view the cost of executing a contract function, then making a change to improve the efficiency of the contract, then re-running the contract and viewing the improved cost.

The tutorial should ideally touch on the derived cpu/mem costs as well as the individual costs that lead to the derived values, so that folks know how to identify where their costs are coming from.

@leighmcculloch
Copy link
Member Author

leighmcculloch commented Aug 23, 2023

@jayz22
Copy link
Contributor

jayz22 commented Aug 27, 2023

I would be happy to help with this as well.

@ElliotFriend ElliotFriend added enhancement New feature or request and removed enhancement New feature or request labels Sep 20, 2023
@janewang janewang transferred this issue from stellar-deprecated/soroban-docs Apr 16, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Dev Docs Apr 16, 2024
@janewang
Copy link
Contributor

@kalepail Do you have something about that you've written your blog post that we could repurpose here? Thanks in advance!

@janewang janewang added the help wanted Extra attention is needed label Apr 25, 2024
@janewang janewang moved this from Backlog to To Do in Dev Docs Apr 25, 2024
@kalepail
Copy link
Contributor

I've got this

Not sure that's quite what Leigh has in mind though which is more scenarios and and tabular facts vs code walkthroughs.

@briwylde08
Copy link
Contributor

This guide was created for the bounty: https://developers.stellar.org/docs/build/guides/conventions/analyzing-smart-contract-cost, does this help solve this issue?

@github-project-automation github-project-automation bot moved this from To Do to Done in Dev Docs Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

7 participants
@leighmcculloch @janewang @ElliotFriend @kalepail @jayz22 @briwylde08 and others