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

Memray tests for memory leaks for head() and tail() #2199

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

grusev
Copy link
Collaborator

@grusev grusev commented Feb 24, 2025

Reference Issues/PRs

The test creates has a special fixture to setup needed environment (not in test as it slows extremely execution under memray)

  • creates library with predefined by test library options, then adds a symbol and creates many versions and a snapshot for each version. The dataframes created are growing in size when library is dynamic.

The test runs is executed 2 times with different library options for segments size, dynamic type on/off, and encoding version.

It covers head and tails executions with different parameters over different types of versions/snapshots of a symbol

NOTE: utils.py is not part of this PR. It is part of #2185 but is there to reuse code as the other is not yet merged

What does this implement or fix?

Change Type (Required)

  • Patch (Bug fix or non-breaking improvement)
  • Minor (New feature, but backward compatible)
  • Major (Breaking changes)
  • Cherry pick

Any other comments?

Checklist

Checklist for code changes...
  • Have you updated the relevant docstrings, documentation and copyright notice?
  • Is this contribution tested against all ArcticDB's features?
  • Do all exceptions introduced raise appropriate error messages?
  • Are API changes highlighted in the PR description?
  • Is the PR labelled as enhancement or bug so it appears in autogenerated release notes?

@github-actions github-actions bot added patch and removed patch labels Feb 24, 2025
@github-actions github-actions bot added patch and removed patch labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant