acl/lib_fiber/samples-c++/redis/valgrind.sh

5 lines
274 B
Bash
Executable File

#!/bin/sh
#valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes --max-stackframe=3426305034400000 -v ./fiber -n 10 -m 20
valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes -v ./redis -s 127.0.0.1:6379 -c 100 -n 100