360 Secure SkillHub
360 安全技能中心

Perftest

核心功能包含HTTP性能测试、延迟检测、吞吐量测量、并发压测,支持生成测试报告及对比多份日志数据。典型用于Web服务基准测试场景,需依赖curl,通过命令行执行脚本命令并传入URL、次数等参数;测试数据存储在~/.local/share/perftest/,输出对应性能指标或报告。

bytesagain1
bytesagain1
热度 70.26
最近更新 2026-05-17 14:37:41
分类:开发依赖:代码执行 / 读写文件应用场景:DevOps / 数据处理 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add 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