0.0.31 • Published 7 months ago
@blocklet/server-benchmark v0.0.31
Server Benchmark
How to use
- Prepare: start a server
- Install https://test.store.blocklet.dev/blocklets/z2qaAYeWTZkhb5yNHqwos6mJLLK9ykHrxehjx
- Config "Invited only" for Static Demo component in Blocklet Dashboard
- Install Media kit
- Save login_token from cookie in browser
- Save any User Did from Blocklet Dashboard
- Start Benchmark
Server use cluster
ABT_NODE_MAX_CLUSTER_SIZE=3 blocklet server start
Use benchmark
Use concurrent mode and require/s mode test(default):
$ npx @blocklet/server-benchmark initUser init type:
# type: server(default) | discuss-kit | tool
$ npx @blocklet/server-benchmark init --type server,discuss-kitEdit benchmark.yml, change:
- origin
- data.userDid
- data.teamDid
- data.loginToken
You can edit benchmark.yml and run:
$ npx @blocklet/server-benchmark runYou can set config path:
$ npx @blocklet/server-benchmark run --config benchmark.ymlFAQ
How to access blocklet by local domain?
- Config
server.benchmark.localto127.0.0.1in/etc/hosts - Add
server.benchmark.localfrom Blocklet Dashboard - Configuration
0.0.31
7 months ago
0.0.30
7 months ago
0.0.29
7 months ago
0.0.27
7 months ago
0.0.26
7 months ago
0.0.25
7 months ago
0.0.24
7 months ago
0.0.23
7 months ago
0.0.20
7 months ago
0.0.19
7 months ago
0.0.18
7 months ago
0.0.17
7 months ago
0.0.15
7 months ago
0.0.14
7 months ago
0.0.12
7 months ago
0.0.11
7 months ago
0.0.10
7 months ago
0.0.9
7 months ago
0.0.8
8 months ago
0.0.7
8 months ago
0.0.6
8 months ago
0.0.5
8 months ago
0.0.4
8 months ago
0.0.3
8 months ago
0.0.2
8 months ago
0.0.1-beta-2025-03-27-11-29-717
8 months ago
0.0.1-beta-2025-03-27-10-49-901
8 months ago