When is Batch() faster?

Would saving a single object in a batch operation be just as fast as saving the object directly? I am trying to figure out what the threshold would be for when it’s faster to save in a batch. Is it once n > 1? or only really once n > 5 | 10 | 15 (where n is number of operations)

Using Batch() is faster when you need to perform n > 1 saves.

1 Like