i used the pygbag library, performance on web is usually 2 to 3 times lower than on desktop, depends on what you are doing