Repository navigation
Measure the MicroVMs beside the functions - #14
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DdeTv4cPwDfQsZ532GvS9G
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DdeTv4cPwDfQsZ532GvS9G
NimmLor
marked this pull request as ready for review
November 1, 2026 11:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PerfRun ran the
Functionsmap, then theMicrovmsmap. Now aMeasureAllParallel state runs both maps as branches, andRecordRunandSummarizefollow it. A run now takes as long as the slower of the two branches instead of both added together.MeasureAllsetsoutput: {}, soRecordRundoesn't receive the branches' result array.RecordRunandSummarizestill getrunIdfrom$states.context.Execution.StartTime, which is the same inside a Parallel branch.ToleratedFailurePercentage = 100now finds each map insideMeasureAll'sBranchesinstead of at the top level. A failed child still doesn't fail the run.RunMicrovm,CreateMicrovmAuthTokenandTerminateMicrovm, notUpdateFunctionConfiguration, so they shouldn't count against the 15 requests/s quota the function rounds use. I couldn't confirm this before deploying, so check the first run's MicroVM round trips and the function rounds for throttling.infra/perf.tsand the README's MicroVM section.Checks:
bun run typecheck,bun lint --max-warnings 0(canary),bun fmt --checkandbun testpass. Not deployed yet.Generated by Claude Code