HF RL Explorer

Task: Redis SCAN vs KEYS Performance Comparison

Task: Redis SCAN vs KEYS Performance Comparison: a task in Terminal-Lego-15k (Harbor dataset). Write a benchmarking script that compares the performance characteristics of Redis KEYS and SCAN commands under different dataset sizes, demonstrating why SCAN is preferred in production environments.

The task

Write a benchmarking script that compares the performance characteristics of Redis `KEYS` and `SCAN` commands under different dataset sizes, demonstrating why `SCAN` is preferred in production environments.

Part of PrimeIntellect/Terminal-Lego-15k.