Open
Conversation
ea66666 to
281c8e3
Compare
JaCoCo Code Coverage 93.68% ✅
Generated by 🚫 Danger |
📊 Benchmark Comparison ReportSummary
|
| Benchmark | Baseline | Current | Change |
|---|---|---|---|
| com.instacart.formula.benchmarks.TransitionQueueBenchmark.measure1 | 0.342 ± 0.007 us/op | 0.486 ± 0.007 us/op | +41.9% 🔴 |
| com.instacart.formula.benchmarks.TransitionQueueBenchmark.measure10000 | 0.357 ± 0.01 us/op | 0.491 ± 0.003 us/op | +37.6% 🔴 |
| com.instacart.formula.benchmarks.TransitionQueueBenchmark.measure100 | 0.357 ± 0.003 us/op | 0.489 ± 0.01 us/op | +37.0% 🔴 |
| com.instacart.formula.benchmarks.GlobalEffectQueueBenchmark.measure100Effects | 8.214 ± 0.131 us/op | 10.577 ± 0.116 us/op | +28.8% 🔴 |
| com.instacart.formula.benchmarks.ChildrenInitializationBenchmark.initializeNewChildren (childrenCount=1) | 0.68 ± 0.055 us/op | 0.848 ± 0.09 us/op | +24.6% 🔴 |
| com.instacart.formula.benchmarks.ActionInitializationBenchmark.initializeNewActions (actionCount=1) | 0.668 ± 0.036 us/op | 0.829 ± 0.042 us/op | +24.2% 🔴 |
| com.instacart.formula.benchmarks.CallbackOverheadBenchmark.transitions (callbackCount=50) | 14.56 ± 0.502 us/op | 17.446 ± 0.785 us/op | +19.8% 🔴 |
| com.instacart.formula.benchmarks.ActionCountBenchmark.stateChanges (actionCount=100) | 13.937 ± 0.073 us/op | 16.679 ± 0.154 us/op | +19.7% 🔴 |
| com.instacart.formula.benchmarks.CallbackOverheadBenchmark.transitions (callbackCount=10) | 13.111 ± 0.055 us/op | 15.664 ± 0.2 us/op | +19.5% 🔴 |
| com.instacart.formula.benchmarks.ActionCountBenchmark.stateChanges (actionCount=25) | 13.066 ± 0.123 us/op | 15.58 ± 0.198 us/op | +19.2% 🔴 |
| com.instacart.formula.benchmarks.ActionCountBenchmark.stateChanges (actionCount=1) | 12.835 ± 0.164 us/op | 15.278 ± 0.156 us/op | +19.0% 🔴 |
| com.instacart.formula.benchmarks.TransitionBenchmark.transitions (depth=20) | 13.3 ± 0.105 us/op | 15.758 ± 0.164 us/op | +18.5% 🔴 |
| com.instacart.formula.benchmarks.ChildrenCountBenchmark.stateChanges (childrenCount=25) | 13.211 ± 0.091 us/op | 15.626 ± 0.216 us/op | +18.3% 🔴 |
| com.instacart.formula.benchmarks.ChildrenCountBenchmark.stateChanges (childrenCount=1) | 12.869 ± 0.218 us/op | 15.214 ± 0.149 us/op | +18.2% 🔴 |
| com.instacart.formula.benchmarks.TransitionBenchmark.transitions (depth=0) | 12.788 ± 0.089 us/op | 15.107 ± 0.068 us/op | +18.1% 🔴 |
| com.instacart.formula.benchmarks.ChildrenCountBenchmark.stateChanges (childrenCount=100) | 14.674 ± 0.203 us/op | 17.3 ± 0.149 us/op | +17.9% 🔴 |
| com.instacart.formula.benchmarks.TransitionBenchmark.transitions (depth=10) | 13.059 ± 0.212 us/op | 15.383 ± 0.152 us/op | +17.8% 🔴 |
| com.instacart.formula.benchmarks.ActionInitializationBenchmark.initializeNewActions (actionCount=25) | 3.073 ± 0.052 us/op | 3.564 ± 0.062 us/op | +16.0% 🔴 |
| com.instacart.formula.benchmarks.ChildrenInitializationBenchmark.initializeNewChildren (childrenCount=25) | 3.43 ± 0.243 us/op | 3.841 ± 0.117 us/op | +12.0% 🔴 |
No significant changes (6 benchmarks)
| Benchmark | Baseline | Current | Change |
|---|---|---|---|
| com.instacart.formula.benchmarks.ActionInitializationBenchmark.initializeNewActions (actionCount=100) | 10.424 ± 0.173 us/op | 11.271 ± 0.12 us/op | +8.1% |
| com.instacart.formula.benchmarks.CallbackInitializationBenchmark.initializeNewCallbacks (callbackCount=10) | 1.584 ± 0.231 us/op | 1.993 ± 0.233 us/op | +25.8% |
| com.instacart.formula.benchmarks.CallbackInitializationBenchmark.initializeNewCallbacks (callbackCount=50) | 5.686 ± 0.922 us/op | 7.141 ± 2.082 us/op | +25.6% |
| com.instacart.formula.benchmarks.ChildrenInitializationBenchmark.initializeNewChildren (childrenCount=100) | 12.192 ± 0.527 us/op | 13.068 ± 0.36 us/op | +7.2% |
| com.instacart.formula.benchmarks.GlobalEffectQueueBenchmark.measure10Effects | 0.709 ± 0.009 us/op | 0.748 ± 0.006 us/op | +5.5% |
| com.instacart.formula.benchmarks.GlobalEffectQueueBenchmark.measure1Effect | 0.053 ± 0.002 us/op | 0.058 ± 0.0 us/op | +9.5% |
Regressions: ±10% with non-overlapping confidence intervals. Improvements: ±10% change only.
Generated by 🚫 Danger
deesonpatel
approved these changes
Mar 2, 2026
deesonpatel
left a comment
There was a problem hiding this comment.
This would be a breaking change. We should probably note that.
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.
Summary
Updating termination APIs to remove
statetransitions from it.Previously:
The API accepted transition with a potential state change
Action.onTerminate().onEvent { transition { fireAnalytics() } }After:
Action.onTerminate { fireAnalytics() }