head to head
Total War: Warhammer II asks more than Portal, and the gap is variance.

Optimization · Pure Optimization
The portal-gun puzzle game whose solutions are everything.

Optimization · Pure Optimization
Optimizing race mechanics and vortex rituals while executing real-time battle tactics.
Portal leans Optimization (Pure Optimization); Total War: Warhammer II leans Optimization (Pure Optimization).
Total War: Warhammer II leans a little harder on execution, though the gap is small.
Portal
Portal placement timing modest.
Total War: Warhammer II
Unit micro, spell timing, and formation play drive battle outcomes
Total War: Warhammer II leans clearly harder on reads.
Portal
No adversary modeling player.
Total War: Warhammer II
Vortex campaign AI predictable; human opponents require genuine reads
Total War: Warhammer II leans clearly harder on variance.
Portal
Deterministic chambers; no randomness.
Total War: Warhammer II
Rite costs, random loot drops, and chaos invasion timing create variance
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
Portal
Pure puzzle-solving optimization.
Total War: Warhammer II
Race mechanics and vortex ritual routing are richly optimizable
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.