@devipriyanka
In general, you are probably doing a ForAll(data), Patch(dataSource, ...) formula. Patch takes a table as well. ForAll is a PowerApps function that is used to return a Table of iterated items.
So, if you use the ForAll properly as a table generating function, then you can use that as the records argument of the Patch statement.
Ex. Patch(yourDataSource, ForAll(yourrecords, {ID: ID, x: y, z:a}) )
In this, the ForAll creates a Table of records with the changes you want to make. That Table is then used in the Patch to submit all of the records at once.
NOW...that said, internally the Patch will still do this record by record. But, I still have found that the performance of this is much better than trying to use ForAll as a For/Loop. Patch gets a full table to work on at a time rather than record by record. It seems to like it a little more in the performance area.
I hope this is helpful for you.