- scripts/loadtest.ts: 방 N개 × (선수 2 + 관전자) 연결, 방마다 2초에 한 수, 상대 수신까지 지연 p50/p95/p99, 서버 CPU·메모리, --chaos 시 서버 SIGKILL → 재시작 → 재연결·수 유실 검사 - LOADTEST_NO_HTTP_LIMITS=1(https 주소에서는 무시) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
266 B
JSON
16 lines
266 B
JSON
{
|
|
"name": "@bg/games",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./*": "./src/*/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@bg/engine": "workspace:*",
|
|
"chess.js": "1.4.0",
|
|
"zod": "4.6.5"
|
|
}
|
|
}
|