Got it fixed thanks to @freiwald Store the entries in an array and write this array to the parent using append(contentsOf:) at once. Also very important: neither define inverse relations in the child model nor use them for insertion! I am now able to write 200k entries in 37s.
#SwiftData