Commit graph

29 commits

Author SHA1 Message Date
Sean Corfield
69324ccbe6 in-transaction -> with-transaction 2019-03-30 23:11:37 -07:00
Sean Corfield
a44f59a468 Clean up Preparable; add Transactable 2019-03-30 20:36:53 -07:00
Sean Corfield
93eb286bd0 Optimize by removing destructuring 2019-01-26 02:05:25 -08:00
Sean Corfield
19ae37b3fe Add options back to get-connection
So we can do read-only, non-auto-commit connections
2019-01-26 01:59:37 -08:00
Sean Corfield
8d9289bd14 Optimizations
Strip options from datasource.
Implement full prepared statement.
Lift options handling.
2019-01-26 01:35:31 -08:00
Sean Corfield
a1d9d869d6 Add raw Java benchmark 2019-01-26 00:27:15 -08:00
Sean Corfield
c1e8b351a2 Drop options; add query-one/command! conveniences 2019-01-26 00:21:03 -08:00
Sean Corfield
781a6d19e1 Perform base reduce on update counts 2019-01-10 23:25:29 -08:00
Sean Corfield
eaffa2fd74 Dispatch execute! on a protocol
Improves performance. Handles the connect-with-connection problem.
Clean up formatting.
2019-01-10 19:23:35 -08:00
Sean Corfield
362dd5aac0 Avoid with-open call on Connection
This doesn't improve performance as much as I expected
2019-01-10 18:47:48 -08:00
Sean Corfield
aed569af61 Bug fix for empty params 2019-01-10 18:46:24 -08:00
Sean Corfield
70c22add30 Fix a few calls 2019-01-10 18:33:12 -08:00
Sean Corfield
7d9a53127d Add options to DataSource 2019-01-10 18:30:05 -08:00
Sean Corfield
73a7b2af10 Note: broken transaction machinery
After removing records and relying entirely on protocols, transaction handling is broken because you can't `assoc` into a non-map.
2019-01-10 18:24:55 -08:00
Sean Corfield
a5027066f9 Perf test query wrapper 2019-01-10 13:16:29 -08:00
Sean Corfield
01a13fe4fa Implement and test assoc on a row 2019-01-10 13:16:14 -08:00
Sean Corfield
5cb185f16e Tidy up 2019-01-10 13:15:58 -08:00
Sean Corfield
fc1ca82e4e Add a quick'n'dirty query function
For benchmarking overhead.
2019-01-10 11:44:19 -08:00
Sean Corfield
4ae5b44a52 Allow execute! on a PreparedStatement
Refactors reduce of prepared statement so it can be reused.
Remove options from `mapify-result-set` until option handling is figured out.
2019-01-10 11:35:17 -08:00
Sean Corfield
a99b4542ca Revert to as-is column names
At least until I figure out how options should flow through the whole stack.
2019-01-10 11:33:19 -08:00
Sean Corfield
85d400e28e Factor out set-parameters
This allows for a prepared statement to be reused for queries with different argument values.
2019-01-10 11:32:46 -08:00
Sean Corfield
d25171e434 Refactor spec / string to common code 2019-01-09 23:30:46 -08:00
Sean Corfield
320f40ecca Do more with protocols for performance 2019-01-09 23:05:21 -08:00
Sean Corfield
0950e356ab Fix issues link 2019-01-09 22:09:29 -08:00
Sean Corfield
b321120518 Put CONTRIBUTING in the right place! 2019-01-09 22:07:57 -08:00
Sean Corfield
e7d0065ced Work in progress
Basic machinery is working: spec -> connection -> prepared statement -> execute -> reduce.

Everything is still very much in flux at this point.
2019-01-09 22:06:49 -08:00
Sean Corfield
8a44a8cbca Prepare for public viewing/contribution 2019-01-09 22:05:58 -08:00
Sean Corfield
954a1ed306 First functioning version of execute! 2019-01-07 23:03:20 -08:00
Sean Corfield
a8c1c37cfd Baseline project setup 2019-01-07 20:38:58 -08:00