Finding bottlenecks in javascript?

前端 未结 4 1618
南旧
南旧 2021-01-11 14:19

I\'m attempting to find a bottleneck in my Javascript. Basically I\'m developing a chrome extension written in Javascript which is taking 4-5 seconds to perform a task. Ther

4条回答
  •  星月不相逢
    2021-01-11 14:49

    You can try to use Profiler as it was mentioned before or Timeline. Timeline will help you if the time was spent in native code.

提交回复
热议问题