OMG, so much baloney in these threads. All other things being equal, the ability of each engine to do work is identical.
With CVT's each optimized to their respective drivetrains' powerbands (ie the engine runs at its peak power continuously), all other factors being equal, both engines will perform identically up that 12% grade with the same load. The amount of work capable of being done is identical in each case, 450 horsepower. The ONLY difference is the diesel does it at 1431 rpm, the gasser does it at 5491 rpm.
They leave the line identically (because of the CVT's they are both making exactly 450 hp from the get go), they accelerate identically (still 450 hp the whole way, CVT remember?), they arrive at the finish line identically (how many hp was that again?).
All other things being equal, all that matters is horsepower output. Whether it is a 6L diesel spinning at 2000 rpm, or a 1cc model airplane engine spinning at a bazillion rpm makes no difference provided they produce the same horsepower.