redis-benchmark.c
if (test_is_selected("lrange") || test_is_selected("lrange_500")) {
len = redisFormatCommand(&cmd,"LRANGE mylist 0 449");
benchmark("LRANGE_500 (first 450 elements)",cmd,len);
free(cmd);
}
Here LRANGE_500 takes LRANGE mylist 0 449 as raw cmd string, which supposed to take LRANGE mylist 0 499. Isn't it so?
Comment From: filipecosta90
@lulyon thank for reporting this. The issue has been fixed by https://github.com/redis/redis/pull/8872.