Without more information it’s hard to say.
What kind of spec is the laptop? Does it have SSD? Is the ubuntu installation bare metal, or inside a VM? How heavily utilized is the hardware?
I’ve moved this to Development as you’re using a development installation.