Git Product home page Git Product logo

ws-bench's Introduction

Scientific™ WebSocket server benchmark

100 concurrent connections had been made.

The test was done using a virtual machine, which gives the test results even more credibility.

The following tables are ordered by CPU usage:

Rust

Type (%)
CPU 3.4 3.5 3.6 3.5 3.8 3.8
Memory 0.4 0.4 0.6 0.6 0.6 0.6

Lua (LuaJIT)

Type (%)
CPU 4.3 4.6 4.7 4.7 4.8 5.0
Memory 0.2 0.2 0.2 0.2 0.2 0.2

C++

Type (%)
CPU 6.9 6.9 7.1 7.2
Memory 0.2 0.2 0.2 0.2

Java

Type (%)
CPU 8.2 8.2 8.2 8.2
Memory 3.1 3.2 3.2 3.3

Haskell

Type (%)
CPU 8.4 8.5 9.2 9.4
Memory 0.5 0.5 0.5 0.5

Go

Type (%)
CPU 11.4 11.4 11.5 11.6 11.6 11.6
Memory 0.4 0.4 0.4 0.4 0.4 0.4

JavaScript (io.js)

Type (%)
CPU 12.0 12.2 13.4 13.9 14.4 15.1
Memory 1.9 1.9 1.9 1.9 2.7 3.6

Julia

Type (%)
CPU 14.7 14.8 14.8 14.9 15.0
Memory 9.1 9.1 9.1 9.1 9.1

Python (asyncio)

Type (%)
CPU 33.5 33.6 33.7 33.7 33.9
Memory 1.0 1.0 1.0 1.0 1.0

PHP

Type (%)
CPU 34.9 35.0 35.2 35.5
Memory 0.6 0.6 0.6 0.6

Ruby

Type (%)
CPU 35.7 35.9 36.0 36.2 36.5 36.8
Memory 1.1 1.1 1.1 1.1 1.1 1.1

Python (Twisted)

Type (%)
CPU 80.5 80.5 80.6 80.7
Memory 0.9 0.9 0.9 0.9

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.