Groupping several updates inside a transaction actually makes it faster because database doesn't have to "commit" changes for each one.
This has diminishing returns however, if too much data changes inside a transaction it can becomes slower due to memory issues.
So something like 1000-10000 updates per transaction is a sweet spot I think.