which is good desktop or laptop?
You get better performance, even if they have the "same" parts. There's no two ways about it. A desktop with similar parts as a laptop works faster and smoother. That's because desktops usually come with full-size parts that are often more powerful than the similar counterparts designed for laptops.