wrk 的 Lua 扩展 wrk-gor

码农软件 · 软件分类 · 网络工具包 · 2019-02-24 13:43:10

软件介绍

wrk-gor

wrk-gor 是一个 wrk 的 Lua 扩展。该扩展可以让 wrk 读取 goreplay 记录的线上真实流量文件(.gor)并进行性能压测。

使用方法

  1. 下载 wrk-gor.lua 到您希望调用 wrk 的目录下

  2. 准备一份 goreplay 产出的数据文件(.gor),该步骤可以参考:Saving and Replaying from file。这里我们使用 requests.gor 进行举例

  3. 使用如下参数调用 wrk: wrk -s wrk-gor.lua http://127.0.0.1:8080/ -- --gor requests.gor,然后 wrk 就会对 127.0.0.1:8080 进行为期 10 秒的性能测试,测试数据从 requests.gor 中被 wrk-gor.lua 读取并加载到 wrk 中

本文地址:https://codercto.com/soft/d/31.html

Deep Learning

Deep Learning

Ian Goodfellow、Yoshua Bengio、Aaron Courville / The MIT Press / 2016-11-11 / USD 72.00

"Written by three experts in the field, Deep Learning is the only comprehensive book on the subject." -- Elon Musk, co-chair of OpenAI; co-founder and CEO of Tesla and SpaceX Deep learning is a for......一起来看看 《Deep Learning》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

随机密码生成器
随机密码生成器

多种字符组合密码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换