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

Compress TVLA general test data #97

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

andreaskurth
Copy link
Collaborator

This commit compresses the existing test data for the general TVLA test
with np.savez_compressed(). No changes are required to the code, which
can continue to load the data with a simple np.load(). The total file
size of the existing tests is reduced from >150 MiB to <1 MiB. The
execution time of the tests does not increase measurably.

Part of #96.

This commit compresses the existing test data for the general TVLA test
with `np.savez_compressed()`.  No changes are required to the code, which
can continue to load the data with a simple `np.load()`.  The total file
size of the existing tests is reduced from >150 MiB to <1 MiB.  The
execution time of the tests does not increase measurably.

Signed-off-by: Andreas Kurth <[email protected]>
Copy link
Collaborator

@vogelpi vogelpi left a comment

Choose a reason for hiding this comment

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

Excellent, thanks @andreaskurth ! This will become more important as we will add more tests.

@andreaskurth andreaskurth merged commit 3b6b96c into lowRISC:master Jul 7, 2022
@andreaskurth andreaskurth deleted the compress-test-data branch July 7, 2022 09:28
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

Successfully merging this pull request may close these issues.

2 participants