command
module
Version:
v0.0.0-...-277f8b8
Opens a new window with list of versions in this module.
Published: Oct 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
按键记录
gradient.shapefactory.co
bar chart
every day
heatmap chart
every hour in weeks
heatmap chart
comparison of several weeks
柱状图
每天按键数据
热力图
时间段内分布数据
热力图
多个星期横向对比
Install
- make down
- make statik
- make install
- make web
Redis
全局
- string
keyboard:last-event
- zset
keyboard:total
- value: 年:月:日 score: 当日按键总数
每日滚动数据
- zset
keyboard:年:月:日:detail
- value: 时间戳(微秒) score: keyCode
- zset
keyboard:年:月:日:rank
- value: keyCode score: 当日按键数
Version
- 1.2.0 move detail data from redis to leveldb, reduce 90% memory usage
- 1.1.0 fix memory leak
- 1.0.9 fix 00:00 cache problem
- 1.0.8 transfer the task of calculating KPM to the listening input device process
- 1.0.6 add interactive select device
- 1.0.4 remove thread pool(memory leak)
- 1.0.3 import thread pool
- 1.0.2 GA
Debug
go tool pprof -inuse_space http://localhost:8891/debug/pprof/heap
go tool pprof -inuse_space -cum -svg http://localhost:8891/debug/pprof/heap > heap_inuse.svg
注意: root用户监听device 和 非root用户的逻辑 数据存储是不一样的
TODO
- gtk 窗口有内存泄漏的问题,随着刷新次数的增多,内存也随之增长
- webview vs electron
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.