360 Secure SkillHub
360 安全技能中心

Perftest

基于 bash 与 curl 的 HTTP 性能测试 Skill,提供 http、latency、throughput、stress、report、compare 六个命令,测量响应时间、DNS/连接/TTFB 各阶段耗时与下载速度,可对日志生成报告并比较,数据保存在本地目录。

bytesagain-lab
bytesagain-lab
热度 85.36
最近更新 2026-05-17 14:37:41
分类:开发依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add bytesagain-lab/perftest
Metadata
name
perftest
version
3.0.0
description
Run HTTP performance tests with latency and throughput measurement. Use when benchmarking web services. Requires curl.
author
BytesAgain
homepage
https://bytesagain.com

perftest

Run HTTP performance tests with latency and throughput measurement. Use when benchmarking web services. Requires curl.

Commands

http

scripts/script.sh http <url count>

latency

scripts/script.sh latency <host>

throughput

scripts/script.sh throughput <url>

stress

scripts/script.sh stress <url concurrent>

report

scripts/script.sh report <logfile>

compare

scripts/script.sh compare <f1 f2>

Data Storage

Data stored in ~/.local/share/perftest/.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com