Commit Graph

469 Commits

Author SHA1 Message Date
Nikita Volkov
810adac70b Merge branch 'master' of https://github.com/nikita-volkov/hasql
# By Alex Mason
# Via Alex Mason (1) and GitHub (1)
* 'master' of https://github.com/nikita-volkov/hasql:
  Add documentation on how to perform an insert or multiple values.
2017-05-18 09:10:11 -04:00
Nikita Volkov
8458526e4e Merge pull request #73 from axman6/add-insertmany-example
Add documentation on how to perform an insert or multiple values.
2017-04-25 10:41:45 +03:00
Alex Mason
c819d6b5f3 Add documentation on how to perform an insert or multiple values. 2017-04-24 19:21:15 +10:00
Nikita Volkov
1127e75364 Add rtsopts to benchmark 2017-04-14 01:41:36 +03:00
Nikita Volkov
52adc79907 Add profiling 2017-04-14 00:49:33 +03:00
Nikita Volkov
22b5f8bb33 Revert "Enlarge the benchmark samples"
This reverts commit e41f83fbfe.
2017-04-14 00:43:39 +03:00
Nikita Volkov
e41f83fbfe Enlarge the benchmark samples
Results:

benchmarking largeResultInVector
time                 7.644 ms   (7.531 ms .. 7.805 ms)
                     0.999 R²   (0.998 R² .. 1.000 R²)
mean                 7.590 ms   (7.552 ms .. 7.633 ms)
std dev              114.4 μs   (84.40 μs .. 168.9 μs)

benchmarking largeResultInList
time                 9.688 ms   (9.597 ms .. 9.762 ms)
                     0.999 R²   (0.999 R² .. 1.000 R²)
mean                 9.686 ms   (9.631 ms .. 9.763 ms)
std dev              181.3 μs   (120.3 μs .. 291.4 μs)

benchmarking manySmallResults
time                 53.05 ms   (52.51 ms .. 53.65 ms)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 52.71 ms   (52.46 ms .. 52.98 ms)
std dev              468.0 μs   (315.9 μs .. 607.8 μs)
2017-04-13 15:41:32 +03:00
Nikita Volkov
e9cf07fb30 New benchmarks 2017-04-10 17:55:58 +03:00
Nikita Volkov
1a2e7ee3ec Update a builder dep 2017-03-21 00:29:27 +03:00
Nikita Volkov
7cba5bd1f0 Migrate to "postgresql-binary-0.12.1" 2017-03-21 00:27:52 +03:00
Nikita Volkov
2801829ff7 Fix the compatibility with the newer "base-prelude" 2017-03-16 15:16:41 +03:00
Nikita Volkov
3e4c7c01c8 Update the version 2017-03-14 18:56:58 +03:00
Nikita Volkov
928b8d2dfd Merge pull request #71 from rikvdkleij/inet-support
Support for `inet` data type.
2017-03-14 18:54:38 +03:00
Rik van der Kleij
19df81bd79 Support for inet data type. Changed upper bound version of postgresql-binary and network-ip. 2017-03-14 16:42:02 +01:00
Rik van der Kleij
7d07722d18 Support for inet data type. Changed lower bound version of postgresql-binary. 2017-03-14 16:21:31 +01:00
Rik van der Kleij
85e4c7a686 Support for inet data type. 2017-03-14 16:11:42 +01:00
Nikita Volkov
b258dfe13e Relax the "vector" dependency 2017-01-31 19:36:02 +03:00
Nikita Volkov
b41ca069d7 Merge branch 'pr/64'
* pr/64:
  Fix the test
  Failing composite test.
2016-12-09 11:34:45 +03:00
Nikita Volkov
3244140243 Fix the test 2016-12-09 11:34:26 +03:00
Nikita Volkov
98de66fc22 Update the deps 2016-12-09 11:33:45 +03:00
Karl Sutt
cbe38bb459 Failing composite test. 2016-12-08 22:59:23 +00:00
Nikita Volkov
79297ac68d Merge pull request #63 from agrafix/patch-1
Comment about "IN" queries.
2016-11-24 15:16:26 +03:00
Alexander Thiemann
47cbfe2731 Comment about "IN" queries.
As discussed in #61
2016-11-24 13:12:39 +01:00
Nikita Volkov
a1a5e15da8 Add tests for "IN" and "NOT IN" simulations 2016-11-18 20:15:26 +03:00
Nikita Volkov
08564ab360 Fix the Composite decoder 2016-10-01 15:34:44 +03:00
Nikita Volkov
a802f907a4 Fix the docs 2016-09-20 06:08:50 +03:00
Nikita Volkov
5c56677764 Update README.md 2016-08-18 08:03:26 +03:00
Nikita Volkov
16e88cc3bb Let's be modest 2016-08-11 23:52:59 +03:00
Nikita Volkov
e5d4a2b5f8 Update README.md 2016-08-11 23:21:28 +03:00
Nikita Volkov
d98da8b5cb Update the version 2016-08-11 23:20:31 +03:00
Nikita Volkov
9276a11843 Update the "aeson" bounds 2016-08-11 23:20:07 +03:00
Nikita Volkov
5b7cf619a5 Update README.md 2016-08-09 23:56:44 +03:00
Nikita Volkov
af4583f403 Move all the private modules into the according namespace 2016-08-06 12:22:23 +03:00
Nikita Volkov
d0bc025271 Correct README 2016-07-25 16:37:17 +03:00
Nikita Volkov
464a1eb687 Add references to the Cursor libraries 2016-07-25 16:36:00 +03:00
Nikita Volkov
39b6bae5c2 Update README.md 2016-07-23 15:48:00 +03:00
Nikita Volkov
a80697d489 Update the version 2016-07-23 15:45:50 +03:00
Nikita Volkov
fe23060c75 Style corrections 2016-07-23 15:44:55 +03:00
Nikita Volkov
4542b52282 Merge pull request #55 from cocreature/libpq-access
Expose access to raw libpq connection
2016-07-23 15:40:12 +03:00
Moritz Kiefer
5fb07162a8 Expose access to raw libpq connection
Needed for #43.
2016-07-23 12:20:50 +02:00
Nikita Volkov
5450369bb3 Update the Travis setup 2016-07-22 10:49:20 +03:00
Nikita Volkov
32e74061a0 Update the version 2016-07-18 12:02:38 +03:00
Nikita Volkov
0d23ed903d Merge pull request #53 from spl/patch-1
Bump dlist upper bound to 0.9
2016-07-18 11:42:05 +03:00
Sean Leather
cf455f87e0 Bump dlist upper bound to 0.9 2016-07-18 08:46:49 +02:00
Nikita Volkov
398fb71d11 Add the GHC 8 target to the Travis configuration 2016-05-29 12:32:20 +03:00
Nikita Volkov
d72ad544b7 Relax the "data-default-class" dependency 2016-05-22 10:02:15 +03:00
Nikita Volkov
00231954df Provide an instance of Decidable to the Params encoder 2016-04-25 17:26:25 +03:00
Nikita Volkov
09dafef4d2 Fix #46 by updating the "postgresql-binary" dependency 2016-04-12 22:33:50 +03:00
Nikita Volkov
c883289be3 Reproduce the empty array issue (#46) 2016-04-12 22:16:57 +03:00
Nikita Volkov
4f23fe5908 Add threads test 2016-03-06 13:54:42 +03:00