head to head
Neither is simply harder - they are hard in different places. Nightmares from the Deep 3: Davy Jones demands more variance; Portal demands more execution.

Optimization · Pure Optimization
Methodically scanning scenes and solving stock puzzles through a pirate story.

Optimization · Pure Optimization
The portal-gun puzzle game whose solutions are everything.
Nightmares from the Deep 3: Davy Jones leans Optimization (Pure Optimization); Portal leans Optimization (Pure Optimization).
Portal leans clearly harder on execution.
Nightmares from the Deep 3: Davy Jones
Clicking hidden objects has no physical ceiling
Portal
Portal placement timing modest.
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
Nightmares from the Deep 3: Davy Jones
Story villains are fully scripted
Portal
No adversary modeling player.
Nightmares from the Deep 3: Davy Jones leans clearly harder on variance.
Nightmares from the Deep 3: Davy Jones
Object locations are unknown information until spotted
Portal
Deterministic chambers; no randomness.
Portal leans clearly harder on optimization.
Nightmares from the Deep 3: Davy Jones
Scene-scanning and puzzle logic converge to a checklist
Portal
Pure puzzle-solving optimization.
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.