Both are important, and for mobile, page speed is a ranking factor. Keep in mind that the internet connection is faster for desktop than mobile, this is why we suggest paying a bit more attention to your mobile website.