Identify performance limitations in JavaScript
P粉684720851
P粉684720851 2023-10-31 20:47:17
0
1
558

I'm trying to find the bottleneck in my Javascript. Basically I'm developing a chrome extension written in Javascript that takes 4-5 seconds to perform a task. This task involves a lot of code and using the print statements built into dev tools/chrome doesn't work. The dev tools don't even seem to see that my Javascript is running. I'm wondering if anyone has any suggestions/tools they've found helpful?

P粉684720851
P粉684720851

reply all (1)
P粉533898694

Open your page in Chrome.

Tools -> Developer Tools -> Configuration File

Start analysis (third button, gray circle on bottom status bar)

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!