[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13720 [Ooni]: Investigate possible performance improvements to the ooni-pipeline
#13720: Investigate possible performance improvements to the ooni-pipeline
-----------------------------+---------------------
Reporter: hellais | Owner: hellais
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Ooni | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+---------------------
Comment (by otr):
I investigated the pyyaml issue using the tests mentioned here [1] as the
output above also suggests that there is an issue in the yaml library. I
changed the load invokatin in report.py to be {{{yaml.load_all(y,
Loader=yaml.CSafeLoader)'}}} instead of {{{yaml.safe_load_all(y)}}}.
However I did _not_ observe any difference in performance. The time it
took to import is the same down to the second and still most of the
processing is done in parser.py, scanner.py and reader.py.
[1] https://stackoverflow.com/questions/16864132/is-there-an-up-to-date-
fast-yaml-parser-with-python-bindings
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13720#comment:1>
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