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

Add performance tests to measure heap memory #705

Open
tomuben opened this issue Aug 30, 2022 · 0 comments
Open

Add performance tests to measure heap memory #705

tomuben opened this issue Aug 30, 2022 · 0 comments
Labels
feature Product feature

Comments

@tomuben
Copy link
Collaborator

tomuben commented Aug 30, 2022

Background

We got customer feedback about increased memory consumption of the script-language-container, between different versions.
In order to check if the UDF client or some dependency increase the memory consumption we should add new performance tests which measure the heap and compare between different version (the pre-installed slc of the DB and a new candidate).

We see two options:

  • Write an UDF which uses the language specific API to gather memory consumption:
  • Write an UDF which spawns a new process which tracks the memory consumption, writes to a temporary file, which is then read and emitted by the UDF
  • Also it would be good to have two kinds of UDF's: One which are as slim as possible (to measure the memory usage of the VM/runtime) and one which does some memory expansive stuff.

Acceptance Criteria

Write Python and Java Performance tests with the above requirements.

@tomuben tomuben added the feature Product feature label Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

1 participant