How to profile Javascript now that JSPerf is down?

后端 未结 8 1736
傲寒
傲寒 2021-01-30 06:38

As some of you probably noticed jsperf is down for some time. But I still need to profile my Javascripts. Is there any possibility to do comparison tests ideally without the hel

8条回答
  •  一向
    一向 (楼主)
    2021-01-30 07:00

    I have incidentally come to know http://jsbench.github.io/.

    It clearly reminds of good ol' jsperf.

    You can save your benchmark, share them and they keep track of per-browser performance.

    Here is one I just made up: For loop benchmark

    (As a side note, you can only save a benchmark if you have a github account.)

提交回复
热议问题