There can be many reasons for slow performance. You can play around with the configuration settings or go through this page from Krita.org: https://docs.krita.org/en/KritaFAQ.html#krita-is-slow