Open tibbetts opened 8 years ago
Profile run with:
import cProfile
cProfile.run("""q('simulate Period_Minutes from satellites_cc GIVEN "Users" = Military limit 1000')""")
All the time seems to be spend inside cursor.execute(), in sqlite3/apsw.
A few wild hypotheses to investigate:
statementcachesize=0
or statementcachesize=1000
to apsw.Connection(...)
.-O0
instead of -O2
for some reason.
I’m seeing 0.1.4 being notably slower on my laptop than 0.1.3.rc2. Specifically running the following queries:
takes 539ms on 0.1.3rc2 and 21s on 0.1.4 in unscientific testing. The underlying crosscat versions are 0.1.38 and 0.1.49 respectively.