drh
bb933ef6e7
More optimizations to sqlite3BtreeMovetoUnpacked(). But there are failures
...
in TH3. Committing this intermediate state to facilitate bisecting.
FossilOrigin-Name: f80497be446f84d2000e454e32d717887a7d0cee
2013-11-25 15:01:38 +00:00
drh
d793f44723
More improvements to sqlite3BtreeMovetoUnpacked() performance.
...
FossilOrigin-Name: 88680698231b7141401f7166e3aff8dbc6008030
2013-11-25 14:10:15 +00:00
drh
ec3e6b10f4
Performance improvements in sqlite3BtreeMovetoUnpacked().
...
FossilOrigin-Name: d0fb7acea7cbfe6f2d84782a28bb51675a06576f
2013-11-25 02:38:55 +00:00
drh
93307e9d06
Add the --scratch parameter to speedtest1. Improved error messages when
...
misconfiguring memory parameters in speedtest1.
FossilOrigin-Name: 8f3c767a30c552548ead104ca125f182ce4849ad
2013-11-24 01:14:14 +00:00
drh
0c2df17691
The MEMSYS5 algorithm does not have to return the block with the lowest
...
address. Any block of the appropriate size will do. Use the first block
found on the freelist for the appropriate size for a performance improvement.
FossilOrigin-Name: 12e612e8e7c4a6f83acf0daf5608151fb5ec1575
2013-11-24 00:46:00 +00:00
drh
9948e95674
A much simpler fix is to simply change MEMSYS5 so that it takes any free
...
block of the appropriate size (the first on the list of free blocks) rather
than searching for the one with the smallest address. This is also faster
than using the min-heap algorithm. Need to research to verify that the
allocator still satisfies the Robson proof, however.
FossilOrigin-Name: 8191b512122c13d7fa61d8e5487652f13ec172f7
2013-11-23 22:45:12 +00:00
drh
7b65ad31e1
Add newlines at the end of some error messages in speedtest1.
...
FossilOrigin-Name: 6b98f0af7a6522873245d30598d7c79b8aeb9fa0
2013-11-23 21:29:07 +00:00
drh
e19f8327f8
Report errors from sqlite3_exec() and sqlite3_config() in speedtest1. Fix
...
a bug in the main testing logic that was found by these error reports.
FossilOrigin-Name: 659f1a98ae698d062269f8fdac84f733a460f5de
2013-11-23 11:45:58 +00:00
drh
c7c9f7110b
Fix the order of parameters to SQLITE_CONFIG_PAGECACHE in the
...
speedtest1.exe program.
FossilOrigin-Name: dbe85ef6d265ed31f4b56dfc0c72bad6adcfd7f0
2013-11-23 04:32:18 +00:00
mistachkin
1617577e77
Adjust MSVC makefile to avoid using forward slashes in file names.
...
FossilOrigin-Name: facf6deaa61ed2e1744711d621d7f50fe2067803
2013-11-23 04:22:19 +00:00
drh
ad1ca9a792
Add the "speedtest1.exe" test program.
...
FossilOrigin-Name: fb6f0c6d77b2318e6e587951514aea91db128c3c
2013-11-23 04:16:58 +00:00
mistachkin
20b859530b
Fix harmless compiler warning.
...
FossilOrigin-Name: f336c18fb72ab90e93640b12ac540d41accc7658
2013-11-22 21:32:44 +00:00
mistachkin
f201496c6a
Minor correction to the batch build tool for MSVC.
...
FossilOrigin-Name: 22144c9df260910c4b67960b0e6a6bd5a6758cd7
2013-11-22 00:49:43 +00:00
drh
0a30592c1e
Fix a harmless clang warning in the command-line shell.
...
FossilOrigin-Name: 3d47a556f0074e39b880186fb7661b1b8955f742
2013-11-21 23:37:02 +00:00
drh
cb4f870884
Slight change to the --timer output on wordcount for better display on
...
windows: Avoid showing the full pathname of the executable.
FossilOrigin-Name: b9e047b9e3c2ee4df4a2d921db62f590fa5452d3
2013-11-21 22:02:52 +00:00
drh
501932ca68
Changes some offset and amount parameters from "int" to "u32" to avoid
...
harmless signed/unsigned comparison warnings.
FossilOrigin-Name: 4e8c5d0795cb7c603182bfa70f3855d654f0997e
2013-11-21 21:59:53 +00:00
drh
7a909855f2
Modify wordcount so that timer information appears on standard error instead
...
of standard output. Rename the run-wordcount.bash script to run-wordcount.sh
and simplify it so that it stands a better chance of running on non-GNU
systems.
FossilOrigin-Name: 586c11ed7cc6b8e2c7181231e37791c2fbc95272
2013-11-21 21:40:45 +00:00
drh
d673cddad6
Do not reuse factored constants that might have had their encodings changed.
...
FossilOrigin-Name: 487f20366ce77f0c90865d10d5aaedd95af98694
2013-11-21 21:23:31 +00:00
drh
d9f158e7b2
Fix the code generator to honor turning off constant expression factoring.
...
FossilOrigin-Name: 882622662dfadf49c65c7d80b7fd87533d079ce9
2013-11-21 20:48:42 +00:00
drh
d2b637c2af
Add the --timer option to the wordcount test program.
...
FossilOrigin-Name: a89fdf87553f01c150729c570796b5078a9b069d
2013-11-21 19:27:45 +00:00
drh
2b53e00f73
Remove a test from sqlite3VdbeMemFromBtree() which was unnecessary, and
...
after the recent OP_Column refactoring, unreachable.
FossilOrigin-Name: 23667f3ba09b7e839d76c42669dc9247a91262c8
2013-11-21 19:05:04 +00:00
drh
66e810247e
Make sure the OP_Next and OP_NextIfOpen opcodes are numbered close together
...
for efficiency in switch() statements. OP_Prev and OP_PrevIfOpen too.
FossilOrigin-Name: d4ccf0f5c656c8f0e1c32d5f7971b131f42c3cbd
2013-11-21 17:24:18 +00:00
drh
d1a01edac9
When one or more arguments to a function are constants, try to factor
...
out just those arguments into initialization code.
FossilOrigin-Name: 50d350abbc9176cd6fc606bc45b8fc3020719500
2013-11-21 16:08:52 +00:00
drh
10f468f37a
Remove the obsolete TK_CONST_FUNC token type.
...
FossilOrigin-Name: 9b4217f055e9bced186b4c56a5753bd6da7115b5
2013-11-21 14:44:38 +00:00
drh
b1fba2868b
Add the ability to factor constant functions out of inner loops. But do
...
not factor out non-constant functions, like random().
FossilOrigin-Name: 1b0f779e19a5c0d51eddd2d88db50034d77d132c
2013-11-21 14:33:48 +00:00
drh
e09f43f8b7
Another improvement to OP_Function and an improvement to OP_Move.
...
FossilOrigin-Name: 70b056fb6f60cdfbe24e4b77a1770eef064a73c6
2013-11-21 04:18:31 +00:00
drh
76694c3ae5
A simple change to the OP_Function opcode improves overall performance by
...
about 0.5%.
FossilOrigin-Name: b890eefd57fbd189f7df611e82eb1fb4b197e1c3
2013-11-21 03:43:12 +00:00
drh
f93cd949a0
Performance optimization to the OP_Next and OP_Prev opcodes.
...
FossilOrigin-Name: ecaac28a2e78aca148fc614fe54bf2706aed8be2
2013-11-21 03:12:25 +00:00
drh
3630a408f2
Refactor the OP_Column opcode to make it clearer and easier to maintain.
...
Overall, performance tests show about a 1% speed increase with this change.
FossilOrigin-Name: 972881c6d394c199961f01dcbeb4a6e8b5c919a1
2013-11-21 01:33:45 +00:00
drh
5cc1023e1c
Reduce the size of VdbeCursor again, this time without a performance hit.
...
FossilOrigin-Name: 933939932c44bccb0958f203a5bd24e683c1cf38
2013-11-21 01:04:02 +00:00
drh
1fd522ff49
Unpack some fields, adding some space back to the VdbeCursor object,
...
in order to help the code to run a little faster.
FossilOrigin-Name: f8d5efcd7b92492b833b6cd1cb6bec006c6a0809
2013-11-21 00:10:35 +00:00
drh
14da87f8c5
Reduce the size of the VdbeCursor object from 144 to 120 bytes.
...
FossilOrigin-Name: 5f9d50688508affd0bc8e4d52e21dacfacdbb5ce
2013-11-20 21:51:33 +00:00
drh
380d685133
Improved comments on the OP_Column changes. Optimize out loading of overflow
...
pages for content with zero length. Add test cases for the latter.
FossilOrigin-Name: 0e05679db7aa302a49e087a81f85203844b98cbe
2013-11-20 20:58:00 +00:00
drh
c8606e416a
Further performance tweaks to OP_Column.
...
FossilOrigin-Name: 0e3f5df695216a27602a53eed5d25231b055adc8
2013-11-20 19:28:03 +00:00
drh
399af1d2c2
Refactoring the OP_Column opcode for improved performance and
...
maintainability.
FossilOrigin-Name: 7c914e3997d2b28164a2fa7eb4398262b6ddb4b2
2013-11-20 17:25:55 +00:00
drh
79353dbd5f
Simplifications to the VdbeCursor object.
...
FossilOrigin-Name: 5562cd343d8f69242e06a51a7f1aef7ee7d78eec
2013-11-20 02:53:58 +00:00
drh
83b301b0af
Performance improvement for the OP_MustBeInt opcode in the VDBE.
...
FossilOrigin-Name: 96a65388e75fed96e2e73ef65726f6db88cc5ccd
2013-11-20 00:59:02 +00:00
drh
707f1c560a
Fix a harmless MSVC compiler warning.
...
FossilOrigin-Name: 6cc023bb29be51847fbbfab95c24fc89993ccdba
2013-11-19 18:17:20 +00:00
drh
c138dafe88
Minor performance improvement to sqlite3SerialTypeGet().
...
FossilOrigin-Name: 17e8524fc05aa1e6074c19a8ccccc5ab5883103a
2013-11-19 13:55:34 +00:00
drh
6bc69a2d4b
Change Noop-comments in where.c into Module-comments, so that they are
...
omitting without SQLITE_ENABLE_MODULE_COMMENTS.
FossilOrigin-Name: 3e577f40183c56e60866d8382b044688a1b77eaf
2013-11-19 12:33:23 +00:00
drh
5c82f4df9f
Avoid seeking on the main data table during the first loop of an UPDATE
...
if an index is sufficient to check the WHERE clause.
FossilOrigin-Name: 57158d9daf4d777411fffb1c1d20d89b291d9214
2013-11-19 02:34:11 +00:00
drh
f37139f65b
Fix an requirement mark in a test script so that it matches the
...
typo-corrected requirement. No changes to code.
FossilOrigin-Name: 072412d5e3f92c9c6548f5c86d396d3f024df3f7
2013-11-19 00:31:25 +00:00
drh
64ff26f741
Add comments identifing where the skip-scan option is decided in the
...
query planner, to aid in tuning that decision. No changes to code.
FossilOrigin-Name: e9df04cec48bb8b4ea26ec9024a22ea42b2338eb
2013-11-18 19:32:15 +00:00
drh
2365bac1e2
Fix documentation typos. No changes to code.
...
FossilOrigin-Name: 7caeb09c52bde4649b02b339f611c8e30f6d1c68
2013-11-18 18:48:50 +00:00
drh
2bea7cde6e
Fix harmless compiler warnings from clang scan-build.
...
FossilOrigin-Name: 8d002740bffca2a76d2dfbc1a67293d34f9de9ba
2013-11-18 11:20:50 +00:00
dan
c4650bb33d
Fix a problem with the shell tool EXPLAIN indentation code and VDBE sub-programs.
...
FossilOrigin-Name: 9c8d6856253f8da06b2cb5dc6bd89b6952fa03ed
2013-11-18 08:41:06 +00:00
drh
e73e067187
Enable the ONEPASS optimization for DELETE, for both rowid and WITHOUT
...
ROWID tables.
FossilOrigin-Name: 44a07afdd9b3ae2460bc963383295deb0915f899
2013-11-18 03:11:54 +00:00
drh
83d47afe24
Make sure one-pass DELETE for WITHOUT ROWID tables correctly positions the
...
PRIMARY KEY cursor. Make the same fix for UPDATE.
FossilOrigin-Name: 6bd5750b7d5da221b0689f6df6be5ed0dce61bec
2013-11-17 02:42:02 +00:00
drh
c51331d16d
Fix a couple of minor problems with the new delete logic.
...
FossilOrigin-Name: a11243f840d35aaed8ee3b9901c3950bc584a417
2013-11-16 23:16:31 +00:00
drh
52a82e6966
Fix an OOM-recovery problem in the DELETE code generator.
...
FossilOrigin-Name: dc7be158b82ab9156d0fcdf3394f881eac4d23c3
2013-11-16 23:03:06 +00:00