Smartphone processors comparison

which one is better -
1) quad Cores @ 1.5GHz Qualcomm Krait with 1.5GB RAM
OR
2) dual Cores @ 1.7GHz ARM Cortex-A15 & quad Cores @ 1.3 GHz Cortex-A7 with 2GB RAM ?