Does your laptop have an SSD or not?
What I've noticed is that GCC tended to be faster on Linux than on Windows, but here you seem to be using Linux on your laptop too?
(The same code compiles faster with GCC on my laptop, which has an older generation Core i7, on Linux, than on my workstation, which has a much more powerful Core i7, but on Windows.)