Desktop or Laptop doesn't affect speed, it mostly affects price. If the processors in the two are the same, they'll run at the same speed. And if the RAM is also the same, performance should be virtually identical. Laptops usually cost more for the same level of performance because of the need for smaller parts and more intricate assembly. However, if the same stuff is under the hood, the performance will be the same.
