Both the 840d and the M140i use 3-liter inline-6 engines with 320 and 340 HP, respectively. But the 8 Series has a lot more torque, two turbochargers and the obvious advantage of an advanced AWD system. Yet both of those pale in comparison to the 5-liter V10 from the E60 M5. It screams like no other BMW engine and delivers just over 500 ponies to the rear wheels via an automatic gear slammer.
Like the modern diesel coupe, this has a launch system that somehow seems to do more harm than it does good in the drag race. The M5 took 12.8 seconds to complete the quarter-mile race while the 840d came close with 13.1 seconds, which is impressive for a diesel. But actually, the E60 was much faster than the numbers would lead you to believe, as it spent a couple of seconds pointlessly spinning its wheels at the beginning.
The outcome of the rolling race is even stranger, as all three cars are even in the beginning. Only when the M5 reaches the top end of its rev range does the V10 really pull its weight, but the M140i is very close behind it. Despite having the most torque the 840d was last, maybe because it's also very heavy.