Skip to content

Two dead-simple implementations in Ruby#2

Open
andriytyurnikov wants to merge 1 commit intovirtan:masterfrom
andriytyurnikov:master
Open

Two dead-simple implementations in Ruby#2
andriytyurnikov wants to merge 1 commit intovirtan:masterfrom
andriytyurnikov:master

Conversation

@andriytyurnikov
Copy link

Client compilation warning:
make
c++ -Os -march=native -mtune=native -std=c++0x -Wall -I/opt/local/include -L/opt/local/lib -lboost_thread-mt -lboost_system-mt -pthread client.cc -o client
ld: warning: directory not found for option '-L/opt/local/lib'

Client failure:
Starting tests
Chld: 0 ConnErr: 0 ExchErr: 0 ConnAvg: 0ms LatAvg: 0ms Msgs: 0
libc++abi.dylib: libc++abi.dylib: terminate called throwing an exceptionterminate called throwing an exceptionlibc++abi.dylib:
libc++abi.dylib: Abort trap: 6

boost 1.52.0 is installed from homebrew

Also output results are highly variative on my system, (localhost!):

first test ConnAvg: 625.623ms
second test ConnAvg: 0.318ms
third test ConnAvg: 757.165ms
This was true for all implementations I tested (python, perl, node, ruby).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant