Giter Club home page Giter Club logo

qos-bench's Introduction

QOS benchmark tool

依赖

本工具运行在QOS节点上,安装步骤请参照:

QOS节点安装文档

Benchmark 工具安装

$ git clone https://github.com/QOSGroup/qos-bench
$ cd qos-bench
$ env GO111MODULE=on go build

配置

因为QOS公链采用账户机制,所以开始测试前需准备测试账号,并保证测试账号中有充足的余额

使用该脚本来创建账户和配置账户资产

$ ./config.sh

该脚本在 QOS 网络中配置账户和资产,并在当前目录生成 config.json 文件,文件中记录账户名、地址、密码。

注:本配置需在创世区块出块前完成

运行测试工具

$ ./qos-bench -v -T 10 -R 10 -home "~/.qoscli" -file "./config.json" localhost:26657

打印帮助信息

$ ./qos-bench -h

QOS、Qstar、cassini跨链

对应下述系统参数的压测 TPS 值参考:

qos qstar 中继跨链
平均TPS 1000 300 300
节点网络配置 单节点 单节点 单qos节点网络,单中继,单qstar节点网络
节点硬件参数 2197.540 MHz 双核CPU * 1 2197.306 MHz 双核CPU * 1 2197 MHz 双核CPU * 1
节点带宽 1000Mb/s 1000Mb/s 1000Mb/s
测试交易类型 单个用户转账 单个用户转账 单个用户转账
发币场景 网络初始化发币 CA证书 CA证书

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.