I've never used stack overflow before.
Direct connection to community seems preferrable.

Source code being tested was

import hotshot, hotshot.stats

from twisted.internet import epollreactor
epollreactor.install()

from twisted.internet import reactor
from twisted.web import http
from twisted.web.proxy import Proxy

factory = http.HTTPFactory()
factory.protocol = Proxy

reactor.listenTCP(18001, factory)

reactor.callLater(60, reactor.stop)
prof = hotshot.Profile("stones.prof")
prof.start()
reactor.run()
prof.close()



2012/3/2  <[email protected]>:
> On 06:54 pm, [email protected] wrote:
>>I'm using epoll reactor and sample HTTP Proxy realization.
>
> See also the question on stackoverflow:
>
>  http://stackoverflow.com/questions/9536732/twisted-reactor-cpu-usage
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> [email protected]
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python



-- 
Ilya Biin

_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to