How to profile Javascript now that JSPerf is down?

后端 未结 8 1740
傲寒
傲寒 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 06:45

    I decided to build tool like this. First public beta is at https://jsbench.me

    EDIT: 2020-07-12 - v1 released

    0 讨论(0)
  • 2021-01-30 06:48

    I like https://perf.zone because it supports NPM modules and looks neat.

    0 讨论(0)
  • 2021-01-30 06:52

    You might also take a look at http://www.jsbenchmarks.com/?anywhichway/union/master/benchmark.js

    0 讨论(0)
  • 2021-01-30 06:56

    Even though jsperf is online, if you still want to look at alternatives, I found http://jsben.ch/#/index to be quite useful and well designed.

    0 讨论(0)
  • 2021-01-30 07:00

    There is also https://www.measurethat.net/ which allows you to create and run javascript benchmarks

    0 讨论(0)
  • 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.)

    0 讨论(0)
提交回复
热议问题