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

Benchmark tests for snapshot creation #286

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

dobrac
Copy link
Contributor

@dobrac dobrac commented Feb 8, 2025

This PR adds basics test for sandbox and snapshot creation + benchmark tests for snapshot creation. Requires cluster + environment setup (env vars). It uses the configuration from "base" image.

There are two modes:

  • Full - starts the containers as it would on production
  • Lite - mocks most of the methods and focuses only on memory operations

Part of this PR are also:

  • introduction of Logger interface
  • introduction of mocking tool "mockery", generate mocks in orchestrator using make mock-generate

Copy link

linear bot commented Feb 8, 2025

@dobrac dobrac self-assigned this Feb 8, 2025
@dobrac dobrac force-pushed the benchmark-tests-for-snapshot-creation-e2b-1533 branch from c26d316 to da03163 Compare February 8, 2025 03:18
@dobrac dobrac marked this pull request as ready for review February 8, 2025 03:21
@dobrac dobrac added the improvement Improvement for current functionality label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant