thunderbench 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +187 -1005
- package/dist/cli.mjs.map +1 -0
- package/dist/config-validation-BFeqCCo5.mjs +65 -0
- package/dist/config-validation-BFeqCCo5.mjs.map +1 -0
- package/dist/config-validation-sY5Ckxfp.mjs +3 -0
- package/dist/index.d.mts +875 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +807 -849
- package/dist/index.mjs.map +1 -0
- package/dist/wrk-test-engine-D_Ny_7mI.mjs +1321 -0
- package/dist/wrk-test-engine-D_Ny_7mI.mjs.map +1 -0
- package/examples/README.md +4 -4
- package/examples/servers/vafast-server.ts +26 -29
- package/package.json +5 -4
- package/dist/chunk-CWMRHHAH.mjs +0 -114
- package/dist/chunk-SQP24Z4Q.mjs +0 -1607
- package/dist/config-validation-Y5UUDC5O.mjs +0 -6
- package/dist/core/comparison-report.d.ts +0 -67
- package/dist/core/comparison-report.d.ts.map +0 -1
- package/dist/core/comparison-runner.d.ts +0 -176
- package/dist/core/comparison-runner.d.ts.map +0 -1
- package/dist/core/config-validation.d.ts +0 -7
- package/dist/core/config-validation.d.ts.map +0 -1
- package/dist/core/json-report-generator.d.ts +0 -174
- package/dist/core/json-report-generator.d.ts.map +0 -1
- package/dist/core/markdown-report-generator.d.ts +0 -16
- package/dist/core/markdown-report-generator.d.ts.map +0 -1
- package/dist/core/report-storage.d.ts +0 -10
- package/dist/core/report-storage.d.ts.map +0 -1
- package/dist/core/server-manager.d.ts +0 -166
- package/dist/core/server-manager.d.ts.map +0 -1
- package/dist/core/stats-calculation.d.ts +0 -16
- package/dist/core/stats-calculation.d.ts.map +0 -1
- package/dist/core/weight-distribution.d.ts +0 -9
- package/dist/core/weight-distribution.d.ts.map +0 -1
- package/dist/core/wrk-test-engine.d.ts +0 -182
- package/dist/core/wrk-test-engine.d.ts.map +0 -1
- package/dist/index.d.ts +0 -45
- package/dist/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -88
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/wrk-binary.d.ts +0 -42
- package/dist/utils/wrk-binary.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ npm install thunderbench
|
|
|
39
39
|
yarn add thunderbench
|
|
40
40
|
|
|
41
41
|
# 使用 bun
|
|
42
|
-
|
|
42
|
+
npm install thunderbench
|
|
43
43
|
|
|
44
44
|
# 使用 pnpm
|
|
45
45
|
pnpm add thunderbench
|
|
@@ -748,19 +748,19 @@ git clone https://github.com/thunderbench/thunderbench.git
|
|
|
748
748
|
cd thunderbench
|
|
749
749
|
|
|
750
750
|
# 安装依赖
|
|
751
|
-
|
|
751
|
+
npm install
|
|
752
752
|
|
|
753
753
|
# 开发模式
|
|
754
|
-
|
|
754
|
+
npm run dev
|
|
755
755
|
|
|
756
756
|
# 构建项目
|
|
757
|
-
|
|
757
|
+
npm run build
|
|
758
758
|
|
|
759
759
|
# 运行测试
|
|
760
|
-
|
|
760
|
+
npm run test
|
|
761
761
|
|
|
762
762
|
# 类型检查
|
|
763
|
-
|
|
763
|
+
npm run type-check
|
|
764
764
|
```
|
|
765
765
|
|
|
766
766
|
### 项目结构
|
package/dist/cli.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|