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

Canister profiling (interim solution) #89

Merged
merged 19 commits into from
Dec 10, 2021
Merged

Canister profiling (interim solution) #89

merged 19 commits into from
Dec 10, 2021

Conversation

chenyan-dfinity
Copy link
Contributor

@chenyan-dfinity chenyan-dfinity commented Dec 4, 2021

Current limitations:

  • Logs are stored in the first page of stable memory (waiting for dedicated log memory)
    • breaks upgrade
    • traps if the log is too long
    • canister_init in Motoko cannot be profiled, because it uses stable_size to decide if there are stable vars to decode.
  • Name section is exposed as active data segments in the first memory page, because passive data segments are not available. (waiting for the metadata endpoint)

@chenyan-dfinity chenyan-dfinity changed the title Canister profiling Canister profiling (interim solution) Dec 4, 2021
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.

1 participant