0.0.31 • Published 10 months ago

@blocklet/server-benchmark v0.0.31

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Server Benchmark

How to use

  1. Prepare: start a server
  2. Install https://test.store.blocklet.dev/blocklets/z2qaAYeWTZkhb5yNHqwos6mJLLK9ykHrxehjx
  3. Config "Invited only" for Static Demo component in Blocklet Dashboard
  4. Install Media kit
  5. Save login_token from cookie in browser
  6. Save any User Did from Blocklet Dashboard
  7. 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 init

User init type:

# type: server(default) | discuss-kit | tool
$ npx @blocklet/server-benchmark init --type server,discuss-kit

Edit benchmark.yml, change:

  • origin
  • data.userDid
  • data.teamDid
  • data.loginToken

You can edit benchmark.yml and run:

$ npx @blocklet/server-benchmark run

You can set config path:

$ npx @blocklet/server-benchmark run --config benchmark.yml

FAQ

How to access blocklet by local domain?

  1. Config server.benchmark.local to 127.0.0.1 in /etc/hosts
  2. Add server.benchmark.local from Blocklet Dashboard - Configuration
0.0.31

10 months ago

0.0.30

10 months ago

0.0.29

10 months ago

0.0.27

10 months ago

0.0.26

10 months ago

0.0.25

10 months ago

0.0.24

10 months ago

0.0.23

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago