mirror of
https://github.com/redis/RedisDesktopManager.git
synced 2026-10-17 04:31:27 +08:00
ed72c543cc
Trademark bullies keep pushing this project out of the road, but we won't give it up.
1.3 KiB
1.3 KiB
Build RESP.app from source
See instruction
Generate test data
Open RESP.app console or redis-cli and execute:
eval "for index = 0,100000 do redis.call('SET', 'test_key' .. index, index) end" 0
eval "for index = 0,100000 do redis.call('SET', 'test_key:' .. math.random(1, 100) .. ':' .. math.random(1,100), index) end" 0
eval "for index = 0,100000 do redis.call('HSET', 'test_large_hash', index, index) end" 0
eval "for index = 0,100000 do redis.call('ZADD', 'test_large_zset', index, index) end" 0
eval "for index = 0,100000 do redis.call('SADD', 'test_large_set', index) end" 0
eval "for index = 0,100000 do redis.call('LPUSH', 'test_large_list', index) end" 0
App profiling
sudo apt-get install valgrind
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install massif-visualizer
export LD_LIBRARY_PATH="/usr/share/redis-desktop-manager/lib":$LD_LIBRARY_PATH
valgrind --tool=massif --massif-out-file=rdm.massif /usr/share/redis-desktop-manager/bin/rdm
Debug SSL
openssl s_client -connect HOST:PORT -cert test_user.crt -key test.key -CAfile test_ca.pem
Remove app settings on OSX
rm $HOME/Library/Preferences/com.redisdesktop.RedisDesktopManager.plist
killall -u `whoami` cfprefsd