@ -23,6 +24,40 @@ You can run boa using the "profiler" feature flag to enable profiling. Seeing as
Once finished you should see some trace files left in the directory (boa_cli in this case).
Once finished you should see some trace files left in the directory (boa_cli in this case).
In the same directory as the `.events, string_data, string_index` files run `crox my_trace` or whatever the name of the files are. This will generate a chrome_profiler.json file, you can load this into Chrome Dev tools.
In the same directory as the `.events, string_data, string_index` files run `crox my_trace` or whatever the name of the files are. This will generate a chrome_profiler.json file, you can load this into Chrome Dev tools.
### Summarize
If you just want a summary of what functions were ran the most or where the most time was spent you can run `summarize`.
This is the same as above except instead of calling `$ crox my_trace` you call `$ summarize summzarize my_trace`. This will generate something like below: