GithubHelp home page GithubHelp logo

go-tpcc's Introduction

go-tpcc

Preparing dataset

./go-tpcc prepare  --threads 10 --warehouses 20 --uri mongodb://localhost:27017 --db DatabaseName

Running test

./go-tpcc run  --threads 1 --warehouses 2 --uri mongodb://localhost:27017 --db DatabaseName --time 200 --trx --report-format json --percentile 95 --report-interval 1 --percent-fail 0

 ./go-tpcc help run
Run

Usage:
  go-tpcc run [flags]

Flags:
  -h, --help                   help for run
      --percent-fail int       How much % of New Order trxs should fail [0-100]
      --percentile int         Percentile for latency reporting (default 95)
      --report-format string   default|json|csv (default "default")
      --report-interval int    Report interval (default 1)
      --scalefactor float      Scale-factor (default 1)
      --threads int            Amount of threads that will be used when preparing. min(threads, warehouses) will be used at most (default 8)
      --time int               How long to run the test (default 10)
      --warehouses int         Number of warehouses to generate the data (default 10)

Global Flags:
      --db string    database name to use
      --trx          use trx?. false by default
      --uri string   DSN

go-tpcc's People

Contributors

impimp avatar

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.