Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to babeltrace 2.0 #22

Open
christophebedard opened this issue Nov 22, 2022 · 1 comment
Open

Upgrade to babeltrace 2.0 #22

christophebedard opened this issue Nov 22, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request in progress Is being worked on

Comments

@christophebedard
Copy link
Member

christophebedard commented Nov 22, 2022

Investigate using babeltrace2 for ingesting trace files from disk: https://github.com/efficios/babeltrace

(Issue moved from GitLab, see: https://gitlab.com/ros-tracing/ros2_tracing/-/issues/45)

@christophebedard christophebedard added enhancement New feature or request in progress Is being worked on labels Nov 22, 2022
@christophebedard christophebedard self-assigned this Nov 22, 2022
@mjcarroll
Copy link
Member

I made a baseline comparison for reading and converting all of the events in a trace file:

https://gist.github.com/mjcarroll/34e7f06d761c8c6ce2cce36027900b34

The main conclusion is that using babeltrace2 via their python API (https://babeltrace.org/docs/v2.0/python/bt2/) results in an ingestion that takes ~70s versus ~42s for the original babeltrace API. This was processing 865k events with kernel and user space events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Is being worked on
Projects
None yet
Development

No branches or pull requests

2 participants