There are ways to evaluate the processor or graphics capabilities of the host using javascript. For example, you can start a set of iterations using these operations and measure the time from start to finish.
In general, it’s not so useful to just try to measure one CPU performance number, since it is much more important to determine exactly what your critical operations are.
For example, if you are interested in a certain type of graphics rendering, you can make a sample animation and see how many frames can be displayed at a certain time.
jfriend00
source share