Which would last longer? 2 or 3x AA batteries …

Which would last longer? 2 or 3x AA batteries + buck converter to 5v or 6x AA batteries + switching regulator to 5v?:

#arduino