SQL server different behavior

SQL Server parse time and compile time is high on virtual server. Same query on physical server is taking 0ms.

  • memory is same
  • number of cores are same
  • execution plans are same
  • SET IO, time statistics logical reads are same except run time

CPU time = 732ms elasped time = 732 ms

What makes Virtual to take more CPU?