diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-09-30 18:16:20 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-10-01 14:14:16 +0000 |
commit | f23b7e1476ded2be43d5e3f03195f522d307b163 (patch) | |
tree | 76c5fa3d2de29fbbedc01a6647198b6f123fbaa6 /src/plugins/sqldrivers/odbc | |
parent | 590213e531f3a14f9b5365a10122f815d5fd6e8f (diff) |
Implement persistent caching for simplify_condition
Store the results of simplify_condition in a json cache file,
next to the pro2cmake.py script.
Dramatically speeds up re-conversion of projects.
The cache is cleared whenever the content of the
condition_simplifier.py file changes, effectively presuming that the
condition computing code has changed.
Sample times.
Initial corelib.pro conversion - 142.13 seconds.
Next re-conversion with hot cache - 1.17 seconds.
Change-Id: I8790b2736358236e4b23bcb5f10f45a36fdfa426
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'src/plugins/sqldrivers/odbc')
0 files changed, 0 insertions, 0 deletions