Code Monkey home page Code Monkey logo

actix-ractor-benches's Introduction

rust-actors-benches

Preconditions

  • CPU: 3.1 GHz Quad-Core Intel Core i7
  • Memory: 16 GB 2133 MHz LPDDR3
  • MacOS: 13.6.5
  • Rust: 1.78
  • Actix: 0.13.3
  • Ractor: 0.9.7
  • Kameo: 0.8.0

cargo bench --bench actix

  • Creation of 100 actors time: 55.924 µs
  • Creation of 10000 actors time: 15.639 ms
  • Waiting on 100000 messages to be processed [ by single-threaded + do_send ] time: 16.563 ms
  • Waiting on 100000 messages to be processed [ by multi-threaded + do_send ] time: 29.702 ms
  • Waiting on 100000 messages to be processed [ by single-threaded + send ] time: 244.69 ms
  • Waiting on 100000 messages to be processed [ by multi-threaded + send ] time: 963.50 ms

cargo bench --bench ractor

  • Creation of 100 actors time: 1.6219 ms
  • Creation of 10000 actors time: 164.34 ms
  • Waiting on 100000 messages to be processed [ by single-threaded + cast ] time: 39.842 ms
  • Waiting on 100000 messages to be processed [ by multi-threaded + cast ] time: 38.489 ms
  • Waiting on 100000 messages to be processed [ by single-threaded + call ] time: 126.76 ms
  • Waiting on 100000 messages to be processed [ by multi-threaded + call ] time: 1.2307 s

cargo bench --bench kameo

  • Creation of 100 actors time: 155.83 µs
  • Creation of 10000 actors time: 17.216 ms
  • Waiting on 100000 messages to be processed [ by single-threaded + send_async ] time: 13.898 ms
  • Waiting on 100000 messages to be processed [ by multi-threaded + send_async ] time: 22.205 ms
  • Waiting on 100000 messages to be processed [ by single-threaded + send ] time: 80.683 ms
  • Waiting on 100000 messages to be processed [ by multi-threaded + send ] time: 1.1576 s

Comparison

rust actors benches

actix-ractor-benches's People

Contributors

xuchaoqian avatar

Stargazers

 avatar Leo Shimonaka avatar Felix Obenhuber avatar

Watchers

 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.