head to head
Diablo III asks more than Portal 2, and the gap is variance.

Optimization · Pure Optimization
A pure loot-and-build treadmill where set-bonus optimisation and Rift pushing define performance.

Optimization · Pure Optimization
A first-person puzzle game where seeing the solution is the whole skill.
Diablo III leans Optimization (Pure Optimization); Portal 2 leans Optimization (Pure Optimization).
Diablo III leans a little harder on execution, though the gap is small.
Diablo III
Greater Rift pushing has minor mechanical demand in builds
Portal 2
Portal placement requires some precision but timing is lenient.
Diablo III leans a little harder on reads, though the gap is small.
Diablo III
No meaningful adaptive opponent; co-op is cooperative
Portal 2
No opponent; puzzles are static.
Diablo III leans clearly harder on variance.
Diablo III
Primal Ancient drops and set dungeon RNG drive the grind
Portal 2
Puzzles are deterministic with no randomness.
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
Diablo III
Set bonuses and paragon levelling are almost entirely solvable
Portal 2
Solving the puzzle's logic IS the entire game.
A matching score does not mean a matching test. Two games can both sit at 10 on execution and demand completely different things of you - which is why the reasoning above matters more than the number beside it.