Code Monkey home page Code Monkey logo

wrk-gor's Introduction

wrk-gor

A wrk's Lua extension, which let wrk uses goreplay's data file (.gor)

Usage

  1. Download wrk-gor.lua to where you run the wrk.
  2. Prepare goreplay's data file, checkout this document: Saving and Replaying from file. For example, we have requests.gor in current directory.
  3. Run wrk with the following arguments: wrk -s wrk-gor.lua http://127.0.0.1:8080/ -- --gor requests.gor. Then wrk will perform 10 seconds' benchmark to 127.0.0.1:8080, the HTTP requests will be generated using requests.gor by wrk-gor.lua.

wrk-gor's People

Contributors

leeyiw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wrk-gor's Issues

Unsuccessful startup

Downloaded the Lua file and placed it in the same directory as. Gor
-rw-r----- 1 root staff 261M 6 25 15:11 cuiyin.gor
-rw-r----- 1 root staff 13K 6 25 15:31 cy.gor
-rwxrwxrwx 1 cuiyin staff 16M 3 30 16:46 gor
-rwxr-xr-x 1 cuiyin staff 16M 3 30 16:46 gor 2
-rwxrwxrwx@ 1 cuiyin staff 7.1M 5 6 17:28 gor_1.0.0_mac.tar.gz
-rwxrwxrwx 1 cuiyin staff 1.9K 6 25 15:54 wrk-gor.lua

The order was executed.
wrk wrk-gor.lua http://127.0.0.1:8080/ -- --sudo gor --input-file "cuiyin.gor" --split-output --input-file-loop --output-tcp 172.16.242.100:28020 --output-tcp 172.16.247.128:28020

The order was executed.
wrk -s wrk-gor.lua http://127.0.0.1:8080/ -- --gor cy.gor

Error prompt:
zsh: command not found: wrk

There are no more examples on the internet. Would you like to know if you can use them?

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.