[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #12859 [Stem]: Improve parsing speed with profile-directed code tuning



#12859: Improve parsing speed with profile-directed code tuning
-------------------------+------------------------
 Reporter:  nickm        |          Owner:  atagar
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Stem         |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------
 Hi!  I took a quick look at how Stem parses descriptors, and tried running
 cProfile over a networkstatus parse.  I don't think I have all of the
 issues solved, but I managed to get a few of the hot spots calmed down for
 a speed reduction of about 30%.

 I don't promise that these are all correct, though I am pretty sure that
 the first one is a big win that you should take.  It accounts for most of
 the speedup that I'm seeing.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12859>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs