head to head
Resident Evil Code: Veronica X asks more than Portal, and the gap is variance.

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

Optimization · Pure Optimization
Survival horror testing inventory routing and ammo economy through a fixed mansion of scripts.
Portal leans Optimization (Pure Optimization); Resident Evil Code: Veronica X leans Optimization (Pure Optimization).
Same score on execution - which means the number cannot separate them. The difference is in what each one asks of you.
Portal
Portal placement timing modest.
Resident Evil Code: Veronica X
Tank controls and aimed shots under pressure need composure
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
Portal
No adversary modeling player.
Resident Evil Code: Veronica X
Zombies and bosses follow fixed scripted behaviour
Resident Evil Code: Veronica X leans clearly harder on variance.
Portal
Deterministic chambers; no randomness.
Resident Evil Code: Veronica X
Item placements are scripted-but-unknown on first runs
Portal leans a little harder on optimization, though the gap is small.
Portal
Pure puzzle-solving optimization.
Resident Evil Code: Veronica X
Ammo economy, item routing and key puzzles drive everything
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.