|If a laptop and desktop had exactly the same hardware and configuration they would have identical performance. But that isn't reality. The published specifications may be similar but that don't tell the whole story. The design of any computer involves many compromises which are weighted according to the design priorities. In a laptop the priorities are low weight, small size, low power consumption, and reasonable cost. Anything that seriously compromises the priorities must be sacrificed. All else being equal the faster a computer operates the more power it will consume and the hotter it will get. Heat is difficult to dissipate in the confined space and limited ventilation of a laptop. Thus high performance is at odds with the design priorities of a laptop. The so called "gaming laptops" simply shift the priorities a bit.|
In a desktop small size and low power consumption is not a major priority and heat is much easier to dissipate. High performance is easier to obtain at a reasonable price. It should be no surprise that desktops generally outperform laptops.