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

Tests and benchmarks must be decoupled #1704

Closed
majetideepak opened this issue May 25, 2022 · 1 comment
Closed

Tests and benchmarks must be decoupled #1704

majetideepak opened this issue May 25, 2022 · 1 comment
Labels
enhancement New feature or request stale

Comments

@majetideepak
Copy link
Collaborator

Some of the tests and benchmarks are coupled to allow the re-use of shared functionality.
See velox/vector/CMakeLists.txt for example. The vector benchmarks couple with the testing classes to say access VectorMaker functionality.
This is not ideal as it introduces a dependency between benchmarks and the whole testing framework.
A better approach is to move the shared functionality into its own utility library. See velox/exec for example. The shared utilities are in tests/utils and can be independently enabled using VELOX_BUILD_TEST_UTILS.

@stale
Copy link

stale bot commented Sep 14, 2022

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Sep 14, 2022
kgpai pushed a commit to kgpai/torcharrow that referenced this issue Sep 14, 2022
Summary:
Tests and benchmarks targets are now de-coupled.
That means they can be built independently.
Shared functionality is moved to a common utility library.

Resolves facebookincubator/velox#1704

X-link: facebookincubator/velox#2439

Reviewed By: Yuhta

Differential Revision: D39484543

Pulled By: kgpai

fbshipit-source-id: b8b0f3a2fec4651ee8b4fe9ca6304bd37b9be183
facebook-github-bot pushed a commit to pytorch/torcharrow that referenced this issue Sep 15, 2022
Summary:
Pull Request resolved: #491

Tests and benchmarks targets are now de-coupled.
That means they can be built independently.
Shared functionality is moved to a common utility library.

Resolves facebookincubator/velox#1704

X-link: facebookincubator/velox#2439

Reviewed By: Yuhta

Differential Revision: D39484543

Pulled By: kgpai

fbshipit-source-id: 5ac888c81a6bbfbc5a1a1c4cfd41fa2c86199bc4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant