How to determine the reasons for using high memory when using jQuery?

What methods and techniques can I use as a web encoder to determine the reasons for using large memory in the jquery code that I defined?
I am using stable Google Chrome, currently v7, if that helps.

Some parts can be replaced with “regular” javascript, but this requires more lines and less noticeable to see what happens. As far as I understand, jQuery overheads are added slightly.
The other parts cannot and provide the basic functionality of the page, which means that avoiding jQuery completely is not an option. In addition, reinventing the wheel is counterproductive.

+3
source share
1 answer

Google Chrome has a developer tool to help you track your memory usage. “I don’t know what you are using, but on a Mac you can go to View, Developer, Developer Tools. There is a resource tab and a profiling tab that may be useful to you.

0
source

Source: https://habr.com/ru/post/1773452/


All Articles