Py CppServer
Py CppServer

Summary: Perf tester for py TCppServer.

Test Plan:
fbconfig -r thrift/perf; fbmake opt
_bin/thrift/perf/py/TestServer.par -s TCppServer
_bin/thrift/perf/cpp/loadgen --weight_noop=1 --num_threads=100 -header

QPS     Latency PCT Latency  Tot. QPS  Tot. Latency Tot. PCT Latency
1700 56550/30225      107949      1700   56550/30225           107949

_bin/thrift/perf/py/TestServer.par -s TNonblockingServer
_bin/thrift/perf/cpp/loadgen --weight_noop=1 --num_threads=100
QPS     Latency PCT Latency  Tot. QPS  Tot. Latency Tot. PCT Latency |
2200  45617/1419       85421      2216   44900/31468            84074

Due to GIL neither scale with --num_workers.  It seems TGEventServer perf tester isn't working at the moment(?), but it used to scale since it used separate processes.

QPS difference between TCppServer and TNonblocking is probably due to framed vs. header transport, since it looks like some of the header parsing is done in Python for TCppServer

Reviewed By: mhorowitz@fb.com

FB internal diff: D1224228

raphaelamorim/fbthrift,raphaelamorim/fbthrift,sinjar666/fbthrift,HankFaan/fbthrift,soumith/fbthrift,jesboat/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,getyourguide/fbthrift,sinjar666/fbthrift,chjp2046/fbthrift,kangkot/fbthrift,guker/fbthrift,fengshao0907/fbthrift,raphaelamorim/fbthrift,soumith/fbthrift,fengshao0907/fbthrift,kangkot/fbthrift,soumith/fbthrift,soumith/fbthrift,Orvid/fbthrift,maxwell-demon/fbthrift,fengshao0907/fbthrift,raphaelamorim/fbthrift,Orvid/fbthrift,Orvid/fbthrift,jesboat/fbthrift,chjp2046/fbthrift,LinusU/fbthrift,facebook/fbthrift,getyourguide/fbthrift,chjp2046/fbthrift,raphaelamorim/fbthrift,maxwell-demon/fbthrift,sinjar666/fbthrift,soumith/fbthrift,guker/fbthrift,fengshao0907/fbthrift,SergeyMakarenko/fbthrift,jesboat/fbthrift,uber/fbthrift,jesboat/fbthrift,LinusU/fbthrift,maxwell-demon/fbthrift,project-zerus/fbthrift,uber/fbthrift,jesboat/fbthrift,project-zerus/fbthrift,fengshao0907/fbthrift,chjp2046/fbthrift,raphaelamorim/fbthrift,project-zerus/fbthrift,fengshao0907/fbthrift,getyourguide/fbthrift,HankFaan/fbthrift,guker/fbthrift,maxwell-demon/fbthrift,soumith/fbthrift,HankFaan/fbthrift,uber/fbthrift,maxwell-demon/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,jesboat/fbthrift,uber/fbthrift,getyourguide/fbthrift,fengshao0907/fbthrift,uber/fbthrift,SergeyMakarenko/fbthrift,fengshao0907/fbthrift,LinusU/fbthrift,uber/fbthrift,kangkot/fbthrift,uber/fbthrift,jesboat/fbthrift,Orvid/fbthrift,sinjar666/fbthrift,facebook/fbthrift,getyourguide/fbthrift,maxwell-demon/fbthrift,maxwell-demon/fbthrift,jesboat/fbthrift,project-zerus/fbthrift,HankFaan/fbthrift,getyourguide/fbthrift,guker/fbthrift,LinusU/fbthrift,guker/fbthrift,fengshao0907/fbthrift,facebook/fbthrift,kangkot/fbthrift,Orvid/fbthrift,sinjar666/fbthrift,jesboat/fbthrift,Orvid/fbthrift,LinusU/fbthrift,project-zerus/fbthrift,raphaelamorim/fbthrift,getyourguide/fbthrift,HankFaan/fbthrift,facebook/fbthrift,LinusU/fbthrift,raphaelamorim/fbthrift,SergeyMakarenko/fbthrift,SergeyMakarenko/fbthrift,guker/fbthrift,getyourguide/fbthrift,jesboat/fbthrift,guker/fbthrift,kangkot/fbthrift,raphaelamorim/fbthrift,uber/fbthrift,LinusU/fbthrift,chjp2046/fbthrift,guker/fbthrift,facebook/fbthrift,chjp2046/fbthrift,HankFaan/fbthrift,sinjar666/fbthrift,sinjar666/fbthrift,SergeyMakarenko/fbthrift,uber/fbthrift,soumith/fbthrift,maxwell-demon/fbthrift,Orvid/fbthrift,kangkot/fbthrift,maxwell-demon/fbthrift,LinusU/fbthrift,getyourguide/fbthrift,kangkot/fbthrift,kangkot/fbthrift,fengshao0907/fbthrift,sinjar666/fbthrift,soumith/fbthrift,jesboat/fbthrift,chjp2046/fbthrift,getyourguide/fbthrift,SergeyMakarenko/fbthrift,HankFaan/fbthrift,kangkot/fbthrift,project-zerus/fbthrift,getyourguide/fbthrift,project-zerus/fbthrift,facebook/fbthrift,LinusU/fbthrift,SergeyMakarenko/fbthrift,uber/fbthrift,sinjar666/fbthrift,soumith/fbthrift,LinusU/fbthrift,HankFaan/fbthrift,fengshao0907/fbthrift,raphaelamorim/fbthrift,facebook/fbthrift,project-zerus/fbthrift,uber/fbthrift,maxwell-demon/fbthrift,guker/fbthrift,HankFaan/fbthrift,kangkot/fbthrift,sinjar666/fbthrift,chjp2046/fbthrift,getyourguide/fbthrift,sinjar666/fbthrift,facebook/fbthrift,HankFaan/fbthrift,LinusU/fbthrift,Orvid/fbthrift,chjp2046/fbthrift,maxwell-demon/fbthrift,Orvid/fbthrift,facebook/fbthrift,raphaelamorim/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,soumith/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,kangkot/fbthrift,project-zerus/fbthrift,guker/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift,project-zerus/fbthrift,uber/fbthrift,HankFaan/fbthrift,jesboat/fbthrift,SergeyMakarenko/fbthrift,SergeyMakarenko/fbthrift,soumith/fbthrift,guker/fbthrift