Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: avoid repeatedly re-parsing frames (#27)
* Avoid repeatedly re-parsing frames This should reduce the effort on parsing frames by a factor of 4 when operating on a `--full` trace. In that case `ms` will be a list of 4 metrics but we only need to parse the frames once because they are the same in all cases. Also add a couple of comments which weren't obvious to me on first reading. * Avoid changing the type of existing variable `frames` * Code formatting * Moar black --------- Co-authored-by: Gabriele N. Tornetta <[email protected]>
- Loading branch information