Commit 6a64d90
committed
feat: Add comprehensive SCAN benchmark tests for Redis data structures
🔍 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.1 parent 50c45ef commit 6a64d90
File tree
9 files changed
+201
-10
lines changed- redis_benchmarks_specification
- __runner__
- test-suites
9 files changed
+201
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | | - | |
1538 | | - | |
1539 | | - | |
| 1532 | + | |
1540 | 1533 | | |
1541 | 1534 | | |
1542 | 1535 | | |
| |||
Lines changed: 34 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 34 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 34 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments