Git Product home page Git Product logo

Comments (3)

ksylvan avatar ksylvan commented on July 17, 2024 1

You could use it in WSL2 - in an Ubuntu WSL container, run:

sudo apt install wrk

And then:

$ wrk
Usage: wrk <options> <url>                            
  Options:                                            
    -c, --connections <N>  Connections to keep open   
    -d, --duration    <T>  Duration of test           
    -t, --threads     <N>  Number of threads to use   
                                                      
    -s, --script      <S>  Load Lua script file       
    -H, --header      <H>  Add header to request      
        --latency          Print latency statistics   
        --timeout     <T>  Socket/request timeout     
    -v, --version          Print version details      
                                                      
  Numeric arguments may include a SI unit (1k, 1M, 1G)
  Time arguments may include a time unit (2s, 2m, 2h)

from wrk.

insinfo avatar insinfo commented on July 17, 2024

@ksylvan
Do you know how to compile for native Windows?

from wrk.

ksylvan avatar ksylvan commented on July 17, 2024

@insinfo

Do you know how to compile for native Windows?

No, I don't. I haven't done it myself.

But it's mostly C and Lua, and given a sufficiently POSIX-like environment, you should be able to do it. You might need to do something like install Cygwin: https://www.cygwin.com/ and then install GCC, etc.

You can install Lua on Windows:

https://www.oreilly.com/library/view/lua-quick-start/9781789343229/b9f5f696-15a5-4445-9eb7-5fea563e9592.xhtml

from wrk.

Related Issues (20)

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.