feat:关于页面&对接websocket
This commit is contained in:
1 parent
8da0127729
commit
8e37bba724
21 files changed
+5639
-118
No files matched your search
@@ -38,5 +38,10 @@ def get_system_info():
|
||||
"cpu": f"{random.random() * 100: .2}",
|
||||
"memory": f"{random.random() * 100: .2}",
|
||||
"disk": f"{random.random() * 100: .2}",
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"rps": f"{random.random() * random.randint(1, 50): .2}",
|
||||
"time": f"{random.random() * random.randint(1, 50): .2}",
|
||||
"user": f"{random.randint(1, 50)}",
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user