Skip to content

Extend *SCAN benchmarks #304

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

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

Extend *SCAN benchmarks #304

wants to merge 2 commits into from

Conversation

fcostaoliveira
Copy link
Collaborator

🔍 New SCAN Benchmark Tests:

  • Add HSCAN benchmarks for hash data structures (1K fields, 10B/100B values)
  • Add SSCAN benchmarks for set data structures (1K elements)
  • Add ZSCAN benchmarks for sorted set data structures (1K elements)
  • Include cursor count variations (100, 1000) for performance testing

📊 Test Coverage:

  • memtier_benchmark-1key-hash-hscan-1K-fields-100B-values-cursor-count-1000.yml
  • memtier_benchmark-1key-hash-hscan-1K-fields-10B-values-cursor-count-100.yml
  • memtier_benchmark-1key-hash-hscan-1K-fields-10B-values.yml
  • memtier_benchmark-1key-set-1K-elements-sscan-cursor-count-100.yml
  • memtier_benchmark-1key-set-1K-elements-sscan.yml
  • memtier_benchmark-1key-zset-1K-elements-zscan.yml

🛠️ Technical Improvements:

  • Enhanced runner functionality for scan operations
  • Updated existing HSCAN test configuration
  • Version bump in pyproject.toml

These benchmarks enable comprehensive performance testing of Redis SCAN family commands across different data structures, element counts, and cursor configurations.

🔍 New SCAN Benchmark Tests:
- Add HSCAN benchmarks for hash data structures (1K fields, 10B/100B values)
- Add SSCAN benchmarks for set data structures (1K elements)
- Add ZSCAN benchmarks for sorted set data structures (1K elements)
- Include cursor count variations (100, 1000) for performance testing

📊 Test Coverage:
- memtier_benchmark-1key-hash-hscan-1K-fields-100B-values-cursor-count-1000.yml
- memtier_benchmark-1key-hash-hscan-1K-fields-10B-values-cursor-count-100.yml
- memtier_benchmark-1key-hash-hscan-1K-fields-10B-values.yml
- memtier_benchmark-1key-set-1K-elements-sscan-cursor-count-100.yml
- memtier_benchmark-1key-set-1K-elements-sscan.yml
- memtier_benchmark-1key-zset-1K-elements-zscan.yml

🛠️ Technical Improvements:
- Enhanced runner functionality for scan operations
- Updated existing HSCAN test configuration
- Version bump in pyproject.toml

These benchmarks enable comprehensive performance testing of Redis SCAN family commands across different data structures, element counts, and cursor configurations.
@fcostaoliveira fcostaoliveira changed the title feat: Add comprehensive SCAN benchmark tests for Redis data structures Extend *SCAN benchmarks Jul 4, 2025
paulorsousa
paulorsousa previously approved these changes Jul 4, 2025
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