myzhan / boomer

A better load generator for locust, written in golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

启动参数只支持默认的 defaultboomer , 不支持自定义的 NewBoomer

xyzdev-cell opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. 所有的运行参数会在init时注册
  2. 所以不管什么 Boomer都显示有这些启动选项
  3. 实际这些参数只在defaultBoomer中使用

Expected behavior
至少 mem-profile 和 cpu-profile 可以都支持上

Screenshots
image

Environment (please complete the following information):

  • OS:wsl2 ubuntu
  • Go Version: 1.9.1

这些是遗留代码,boomer 作为一个库,会尽量减少声明命令行参数,避免跟用户的冲突。