Skip to content

perf: Speed up creating_canisters_always_works test#10276

Open
alin-at-dfinity wants to merge 3 commits into
masterfrom
alin/speed-up-creating_canisters_always_works
Open

perf: Speed up creating_canisters_always_works test#10276
alin-at-dfinity wants to merge 3 commits into
masterfrom
alin/speed-up-creating_canisters_always_works

Conversation

@alin-at-dfinity
Copy link
Copy Markdown
Contributor

Looks like commit 41fdff3 has caused test creating_canisters_always_works_if_limit_is_set_to_zero to slow down to 60+ seconds (potentially because of the overhead of encoding and decoding the CreateCanisterArgs.

Batch the CreateCanister calls to speed the test up to under 1 second.

Looks like commit 41fdff3 has caused test creating_canisters_always_works_if_limit_is_set_to_zero to slow down to 60+ seconds (potentially because of the overhead of encoding and decoding the CreateCanisterArgs.

Batch the CreateCanister calls to speed the test up to under 1 second.
@alin-at-dfinity alin-at-dfinity requested a review from a team as a code owner May 21, 2026 20:16
@github-actions github-actions Bot added the perf label May 21, 2026
Comment thread rs/execution_environment/src/canister_manager/tests.rs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants