facebook / memlab

A framework for finding JavaScript memory leaks and analyzing heap snapshots
https://facebook.github.io/memlab/
MIT License
4.3k stars 116 forks source link

How to get list of files(HTML/CSS/JS) executed at app per Memlab scenario #82

Closed rupesh1306 closed 1 year ago

rupesh1306 commented 1 year ago

HI, How to get list of files(HTML/CSS/JS) participated(webapp side files) in executing Memlab scenario? Actually I would like to know impact of change at web application side, so is there any way to get that information?

Regards, Rupesh

JacksonGL commented 1 year ago

Currently MemLab supports recording all JavaScript files that are loaded during a scenario execution. To use this feature, add the --log-script command-line flag when using memlab run. All the loaded JavaScript files will be stored in the $(memlab get-default-work-dir)/data/cur/code/ directory. An index of these files can be found in files.json.