Which of these 2 pcs is better?

WalrusSushi

Honorable
Sep 27, 2013
8
0
10,510
Which of these 2 pcs is technically better?

PC #1
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz (2 CPUs), ~2.5GHz
4096MB RAM
Intel(R) HD Graphics (Core i5) (Ok i get it, it's not even a graphics card)
Windows 7 Professional 32-bit (6.1, Build 7600)

PC#2
Intel(R) Pentium(R) 4 CPU 3.00Ghz (2 CPUs)
1534MB RAM
ATI Radeon HD 5450 (512 MB)

PS: What about if the second pc had 4 gigs of ram?