Finding bottlenecks in javascript?

前端 未结 4 1608
南旧
南旧 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条回答
  •  -上瘾入骨i
    2021-01-11 14:39

    I remember Google Chrome has a built-in JavaScript profiler. Or can't you use this for your extension? (I have never built Chrome extensions.)

提交回复
热议问题