bristol-test:测试Bristol性能问题

时间:2021-05-10 18:14:02
【文件属性】:
文件名称:bristol-test:测试Bristol性能问题
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-10 18:14:02
JavaScript 布里斯托尔试验 这个应用程式是bristol程式库中效能问题的PoC。 它是一个包含2个端点的express服务器: /fast只需打印ok , /slow bristol.info包含30个bristol.info调用并显示ok 。 用法 npm install 使用node index.js运行它。 检查快速端点: ab -n 2000 -c 200 "http://127.0.0.1:3000/fast" 检查慢速端点: ab -n 2000 -c 200 "http://127.0.0.1:3000/slow" 结果 对于/fast端点: Requests per second: 2557.85 [#/sec] (mean) Percentage of the requests served within a certain time (ms) 50%
【文件预览】:
bristol-test-master
----.gitignore(14B)
----package.json(202B)
----index.js(323B)
----README.md(998B)

网友评论