Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

benchmark: port cluster/echo to worker #115

Closed
wants to merge 1 commit into from
Closed

Commits on Oct 22, 2017

  1. benchmark: port cluster/echo to worker

    $ ./ayo benchmark/cluster/echo.js
    cluster/echo.js n=100000 sendsPerBroadcast=1 payload="string" workers=1: 26,709.154114687004
    cluster/echo.js n=100000 sendsPerBroadcast=10 payload="string" workers=1: 15,936.350422945854
    cluster/echo.js n=100000 sendsPerBroadcast=1 payload="object" workers=1: 20,778.85550744996
    cluster/echo.js n=100000 sendsPerBroadcast=10 payload="object" workers=1: 10,912.260027807712
    $ ./ayo benchmark/worker/echo.js
    worker/echo.js n=100000 sendsPerBroadcast=1 payload="string" workers=1: 69,787.63926344117
    worker/echo.js n=100000 sendsPerBroadcast=10 payload="string" workers=1: 32,544.630210444844
    worker/echo.js n=100000 sendsPerBroadcast=1 payload="object" workers=1: 48,706.90345844702
    worker/echo.js n=100000 sendsPerBroadcast=10 payload="object" workers=1: 18,088.639282621873
    TimothyGu authored and addaleax committed Oct 22, 2017
    Configuration menu
    Copy the full SHA
    d42f4fc View commit details
    Browse the repository at this point in the history