Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do line-by-line performance profiling?

Is there any way to do this in modern Chrome? Im not looking for 'total function time' and I dont want to add a console timer to every piece of code manually. Chrome use to have a line-by-line profiling view back around 2018 / 2020 but it doesnt seem to exist anymore.

pic of old Chrome js profiling

Have tried to find this feature in modern Chrome but cant. Tried to download old Chrome but it wont run even when I delete my old Chrome / Chromium profile.

like image 446
J. Doe Avatar asked Dec 23 '25 02:12

J. Doe


1 Answers

You need to record Performance from the Performace tab and it will start showing.

Start recording from the performance tab and refresh the page then stop recording. Let the profiling complete. Now you can see the timer column in Sources.

like image 84
Akshay Avatar answered Dec 24 '25 16:12

Akshay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!