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

[tor-commits] [nyx/master] Use SQLite cache to reduce memory usage



commit 40e25acad51daae38f9888699a9884c47148445e
Merge: 7304dd2 beead81
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Sep 2 18:21:52 2017 -0700

    Use SQLite cache to reduce memory usage
    
    Creating a little SQLite cache to store lookup tables we presently cram into
    memory. On my relay this drops memory usage from 42.8 MB to 33.0 MB (23%
    lower). Hopefully we'll find some other good candidates for this too.

 nyx/__init__.py | 183 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 nyx/starter.py  |  10 ----
 nyx/tracker.py  |  64 ++++++++++----------
 test/cache.py   | 149 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 364 insertions(+), 42 deletions(-)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits