A Matlab functionality to generate tracer JSON files compatible with Chrome/Chromium-based browser's add-in tracing application.
This will allow not only to profile the code to see function execution times, but it also allows to understand the **execution flow** between functions and subfunctions.
The tool also tracks or logs memory usage during the profiling/tracing session.
The output log file is a JSON file which is easily loaded into Chrome/Chromium browser tracing application, providing a visual way to follow execution code.
The only thing you, as a user, need to do is: 1) enable the tracing session and 2)add a single line to all the functions you want to keep track of.
Juan Garcia-Prieto (2023). Chrome Tracing library. (https://github.com/juangpc/matlab-chrome-tracer/releases/tag/0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!