While users open my website, I want to turn off some animation effects if the current performance of the user's device is low.
What's the best practise to ranking the device's performance? For example there are 10 ranks, for the devices below rank 5, I will use different way to show some effects.