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

Move distributed TimeMonitor in a separate header #1080

Merged
merged 2 commits into from
May 3, 2024

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented May 3, 2024

I'm writing a second benchmark (distributed nearest to wall) that would need this utility. So, moving it out of the current distributed benchmark. Code is unchanged.

Ideally, we would add tests at some point. Out of scope in this PR, though.

@aprokop aprokop added the refactoring Code reorganization label May 3, 2024
Copy link
Contributor

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you move that new header to source rather than keep it somewhere in benchmarks?

@aprokop
Copy link
Contributor Author

aprokop commented May 3, 2024

Why did you move that new header to source rather than keep it somewhere in benchmarks?

Mainly because it is easier. And if we introduce testing for it at some point (which we should), it would be hard to do that in benchmarks.

We don't have a special place in benchmarks for utils. Guess we could make something like benchmark/utils and move both time monitor and point clouds there.

@dalg24
Copy link
Contributor

dalg24 commented May 3, 2024

I'd prefer keeping it in benchmarks/

Copy link
Contributor

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer if you applied the changes I suggested

benchmarks/utils/time_monitor.hpp Outdated Show resolved Hide resolved
benchmarks/utils/time_monitor.hpp Outdated Show resolved Hide resolved
@aprokop aprokop merged commit f888785 into arborx:master May 3, 2024
2 checks passed
@aprokop aprokop deleted the time_monitor branch May 3, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks refactoring Code reorganization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants