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

Some CTopo* APIs are slow #420

Open
rbx opened this issue Apr 5, 2022 · 0 comments
Open

Some CTopo* APIs are slow #420

rbx opened this issue Apr 5, 2022 · 0 comments
Milestone

Comments

@rbx
Copy link
Member

rbx commented Apr 5, 2022

When using this code to generate a topology file:
https://github.com/FairRootGroup/ODC/blob/0.66/examples/odc-epn-topo.cpp
With this script (cmd.sh) with sub-topologies as arguments (all the other files):
https://gist.github.com/rbx/c1eed6a115a14fef33ace471f2de599a

The runtime on my machine is around 6 seconds. Which seems way too high for merging a few XML files.

It looks like the very long task <exe> line takes a long time to parse. If I reduce it to just the executable name, then the generation is much quicker - only 157ms!

With the above code you should be able to reproduce this, it depends on nothing except boost and DDS.

@AnarManafov AnarManafov modified the milestones: 3.10, 3.8 Apr 5, 2022
@AnarManafov AnarManafov modified the milestones: 3.8, 3.9 Jan 12, 2024
@AnarManafov AnarManafov modified the milestones: 3.9, 3.10, 3.11 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants