Current pool
array renderer family
Shared sync profile
Array values
Step Stream
53 / 56
Left uses 3 fewer default steps
Complexity
O(n^2) / O(n^2)
Both default runs land on O(n^2) time and O(1) space summaries.
Category
Sorting
array renderer family
Runs are generated from the same engine registry used by the main visualizer pages.
Metrics overlays expose shared observed counts like steps, comparisons, visits, edges, or nodes when both runs produce them.
Shared input sync keeps compatible pairs on the same array or grid configuration.
Playback parity now keeps both runs on the same cursor and speed without using the main app store.
Array and pathfinding pairs now reuse the same simple renderer surfaces inside compare mode.
Input Size
Delta 0
8
8
Steps
Delta -3
53
56
Comparisons
Delta 0
28
28
Swaps
Delta +12
17
5
Passes
Delta 0
7
7
Active Step
Not started
Start playback or step forward to inspect the synchronized event stream.
Default Steps
53
Deterministic precomputed event count
Current Complexity
O(n^2)
O(n^2) on this input
Average Time
O(n^2)
n = 8
Space
O(1)
2 normalized params
Overlay Metrics
Input Size
8
Default input scale
Steps
53
Deterministic precomputed event count
Comparisons
28
Theoretical comparisons: best 7, worst 28
Swaps
17
Observed comparisons/swaps/passes: 28/17/7
Passes
7
Observed comparisons/swaps/passes: 28/17/7
Observed Notes
n = 8
optimizeEarlyExit = true
Input already sorted: false
Theoretical comparisons: best 7, worst 28
Active Step
Not started
Start playback or step forward to inspect the synchronized event stream.
Default Steps
56
Deterministic precomputed event count
Current Complexity
O(n^2)
O(n^2) on this input
Average Time
O(n^2)
n = 8
Space
O(1)
2 normalized params
Overlay Metrics
Input Size
8
Default input scale
Steps
56
Deterministic precomputed event count
Comparisons
28
Theoretical comparisons (best/avg/worst): 28
Swaps
5
Theoretical swaps: best 0, worst 7
Passes
7
Observed comparisons/swaps/passes: 28/5/7
Observed Notes
n = 8
swapOnlyWhenNeeded = true
Theoretical comparisons (best/avg/worst): 28
Theoretical swaps: best 0, worst 7