Is one better than the other?
Both do it fast
Of course charging from the iMac means the phone gets backed up too.
Tried searching for the power from the iMac USB 3.0 ports without joy.
The mains charger is a 20W folding pin Apple jobby with USB C to Lightning cable.
iPhone 13 Pro and 2019 27" iMac