Project

General

Profile

« Previous | Next » 

Revision 2050

bin/map, sql.py: Turned SQL query caching back on because benchmarks of just the caching on vs. off reveal that it does reduce processing time significantly. However, there is a slowdown that was introduced between the time caching was added and the time the same XML tree was used for each node, which was giving the false indication that the slowdown was due to the caching.

View differences:

sql.py
97 97

  
98 98
class DbConn:
99 99
    def __init__(self, db_config, serializable=True, log_debug=log_debug_none,
100
        caching=False):
100
        caching=True):
101 101
        self.db_config = db_config
102 102
        self.serializable = serializable
103 103
        self.log_debug = log_debug

Also available in: Unified diff