The Compaq laptop has a much better CPU.
The Passmark CPU benchmark scores for the CPUs are:
Acer: AMD Athlon TF-20 @ 1.60GHz = 396
Compaq: Celeron Dual-Core T3000 @ 1.80GHz = 1161
Thats a pretty big difference.
Acer Aspire 5532 review
Compaq Presario CQ61 review
It looks like the Compaq also gets a better review score between the two.