rajson
> 30s with pypy+json
>
>
> ____
>> From: gl...@twistedmatrix.com
>> Date: Thu, 1 Aug 2013 09:46:54 -0700
>> To: twisted-python@twistedmatrix.com
>> Subject: Re: [Twisted-Python] transport.write performance.
son
30s with pypy+json
> From: gl...@twistedmatrix.com
> Date: Thu, 1 Aug 2013 09:46:54 -0700
> To: twisted-python@twistedmatrix.com
> Subject: Re: [Twisted-Python] transport.write performance.
>
>
> On Aug 1, 2013, at 1:49 AM, zipxing
&g
pypy+builtin_json performance < cpython+ultrajson
> Date: Wed, 31 Jul 2013 09:22:53 +0200
> From: _...@lvh.io
> To: twisted-python@twistedmatrix.com
> Subject: Re: [Twisted-Python] transport.write performance.
>
>
> On Jul 31
Great! pypy take 20% cpu, 3x fast than cpython!
Thanks!
A little problem: cjson and ujson can't install to pypy...
ZipXing
> From: _...@lvh.io
> Date: Tue, 30 Jul 2013 13:09:33 +0200
> To: twisted-python@twistedmatrix.com
> Subject: Re
tsvr.py
---
import sys, time, random, socket, traceback
from twisted.internet import epollreactor
epollreactor.install()
from twisted.internet import defer, reactor, task
from twisted.internet.protocol import Protocol, Factory
from protocol im
A simple TCP echo server using epoll reactor:this server process take 60% cpu
on 4000 request/s.
If use self.transport.getHandle().send instead of self.transport.write,it take
30% cpu on 4000 request/s.
Why transport.write take more user cpu?Why twisted performance so
poor?(echosvr.c using libev