-
Notifications
You must be signed in to change notification settings - Fork 131
Scenario generator #450
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
Scenario generator #450
Conversation
Looking like a very good start to me, will form the basis of our further performance work going forward. |
During the Q4-meeting I became attention to this pull request. I have done a similar approach generating random objects for performance testing some time ago. My intention was a bit different, as I have compared different programming languages and implementations of protobuf, butthere was no storing of generated scenarios and no sequential movement of the objects. I compared the native C++ and Python implementation and the third-party C implementation nanopb, which has no dependencies to external libraries. If there are interests ofthe performance tests, I can publish the code in the next weeks. |
@DerBaertige thanks for the info. I am quite interested in the code for the performance test of the creation of the data structures. I think it could be added as a seperate unit test into the CI then. Feel free to link it here from your repository. Ofc I would add attribution in the comments if I use any of the code in this PR. |
…on in C++ and Python. Signed-off-by: Georg Seifert <georg.seifert@carissma.eu>
I added the C++ and Python implementation here, as it was not in a public repository yet. |
I modified the performance program to make a flatbuffers version. The flatbuffers version of OSI was created based on # 427. Environment: // \file performance.cpp #include <random> // \def ITERATIONS // \def OBJECTS int main(int argc, char** argv)
} |
Reference to a related issue in the repository
This PR is a first draft of the scenario generator to benchmark the performance of OSI as mentioned here (#428).
Add a description
You can generator variable amount of moving object with variable amount of timestamps/messages.
Further TODOs for this PR
Check the checklist