App hangs with recent builds of MacOS27

I've written an app, and in the last couple of build of OS27, I get the spinning beachball when I click on a certain function that builds a table view (with about 7000 rows).

It didn't happen in earlier builds, and doesn't happen on Sequoia.

According to Claude:

Of the lines where the CPU is actually busy, none are in your code. They're SwiftUI's internals (AG::Graph::call_update, find(_:key:filter:), TrackerData.value), the Objective-C runtime (objc_retain and objc_release at about 1,000 each), Swift type-metadata lookups (MetadataCacheKey, _getWitnessTable) and NSKeyValueObservationInfo _copyByAddingObservance.
That mix is typical of SwiftUI building a very large number of views. The -[NSKeyValueObservationInfo …] line points at the AppKit table underneath creating row views.

Realistically, a "minimal example" would be the whole app and data set itself.