Javascript code for making my browser slow down

后端 未结 8 1820
野性不改
野性不改 2021-02-19 02:28

I\'m writing a library for WebWorkers, and I want to test the difference between running a script in the main page thread, versus in one or more workers. The problem is: I can\'

8条回答
  •  渐次进展
    2021-02-19 02:55

    Check out the benchmarking code referenced by the Google V8 Javascript Engine.

提交回复
热议问题