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

Merged
merged 2 commits into from
Jul 15, 2025
Merged

Extend *SCAN benchmarks #304

merged 2 commits into from
Jul 15, 2025

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
@fcostaoliveira fcostaoliveira merged commit 6750551 into main Jul 15, 2025
7 checks passed
@fcostaoliveira fcostaoliveira deleted the scan.benchmarks branch July 15, 2025 16:15
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