Git Product home page Git Product logo

Comments (3)

yunginnanet avatar yunginnanet commented on May 23, 2024

Exploring fasthttp as a solution.

See development branch.

from hellpot.

yunginnanet avatar yunginnanet commented on May 23, 2024

As of this commit; HellPot is now using fasthttp. From my (albeit very crude) benchmarks, it's faster, too.

╭─ ⸸kayos⸸  3s1x ~
╰ for run in {1..10}; do rm new.hellpot; rm old.hellpot; curl --silent 127.0.0.1:8080/wp-login>new.hellpot& sleep 3; killall curl; ls -lah new.hellpot && curl --silent 127.0.0.1:8081/wp-login>old.hellpot& sleep 3; killall curl; ls -lah old.hellpot; done
[...]
0644  204M kayos 15 Sep 10:25   new.hellpot
0644  168M kayos 15 Sep 10:25   old.hellpot
[...]
0644  203M kayos 15 Sep 10:25   new.hellpot
0644  170M kayos 15 Sep 10:25   old.hellpot
[...]
0644  206M kayos 15 Sep 10:25   new.hellpot
0644  172M kayos 15 Sep 10:25   old.hellpot
[...]
0644  202M kayos 15 Sep 10:25   new.hellpot
0644  170M kayos 15 Sep 10:25   old.hellpot
[...]
0644  204M kayos 15 Sep 10:25   new.hellpot
0644  172M kayos 15 Sep 10:25   old.hellpot
[...]
0644  194M kayos 15 Sep 10:26   new.hellpot
0644  147M kayos 15 Sep 10:26   old.hellpot
[...]
0644  199M kayos 15 Sep 10:26   new.hellpot
0644  161M kayos 15 Sep 10:26   old.hellpot
[...]
0644  201M kayos 15 Sep 10:26   new.hellpot
0644  161M kayos 15 Sep 10:26   old.hellpot
[...]
0644  191M kayos 15 Sep 10:26   new.hellpot
0644  163M kayos 15 Sep 10:26   old.hellpot
[...]
0644  191M kayos 15 Sep 10:26   new.hellpot
0644  156M kayos 15 Sep 10:26   old.hellpot

from hellpot.

yunginnanet avatar yunginnanet commented on May 23, 2024
╭─ ⸸kayos⸸  3s1x ~
╰ export _sleep=5; export _ip="192.168.69.5"; for run in {1..10}; do rm new.hellpot; rm old.hellpot; curl --silent $_ip:8080/wp-login>new.hellpot& sleep $_sleep; killall curl; ls -lah new.hellpot && curl --silent $_ip:8081/wp-login>old.hellpot& sleep $_sleep; killall curl; ls -lah old.hellpot; done | grep ".hellpot"

0644  334M kayos 15 Sep 12:46   new.hellpot
0644  281M kayos 15 Sep 12:46   old.hellpot

0644  334M kayos 15 Sep 12:47   new.hellpot
0644  267M kayos 15 Sep 12:47   old.hellpot

0644  326M kayos 15 Sep 12:47   new.hellpot
0644  258M kayos 15 Sep 12:47   old.hellpot

0644  320M kayos 15 Sep 12:47   new.hellpot
0644  275M kayos 15 Sep 12:47   old.hellpot

0644  338M kayos 15 Sep 12:47   new.hellpot
0644  273M kayos 15 Sep 12:47   old.hellpot

0644  324M kayos 15 Sep 12:47   new.hellpot
0644  275M kayos 15 Sep 12:47   old.hellpot

0644  329M kayos 15 Sep 12:47   new.hellpot
0644  277M kayos 15 Sep 12:47   old.hellpot

0644  330M kayos 15 Sep 12:48   new.hellpot
0644  245M kayos 15 Sep 12:48   old.hellpot

0644  331M kayos 15 Sep 12:48   new.hellpot
0644  272M kayos 15 Sep 12:48   old.hellpot

0644  318M kayos 15 Sep 12:48   new.hellpot
0644  272M kayos 15 Sep 12:48   old.hellpot

from hellpot.

Related Issues (14)

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.