Commit Graph

395 Commits

Author SHA1 Message Date
Felix Yan
df2093999d
Allow tasty-hunit 0.10
Tests pass here.
2017-12-06 13:24:46 +08:00
Nikita Volkov
b806c6ef1c Migrate from EitherT to ExceptT 2017-11-26 11:24:40 +03:00
Nikita Volkov
32018a6481 Update the test deps 2017-11-26 11:24:17 +03:00
Nikita Volkov
3dddd9465c Set the version to 1.1.1 2017-11-26 11:23:48 +03:00
Nikita Volkov
4622f29fc4 Update the version 2017-11-01 20:47:39 +03:00
Nikita Volkov
732194b902 Merge branch 'pr/81'
* pr/81:
  Extend the docs
  Restore the older test
  Update unknown decoder doc
  Fix #80, better behavior for unknown encoder
2017-11-01 20:47:20 +03:00
Nikita Volkov
9ba0612f68 Extend the docs 2017-11-01 20:47:05 +03:00
Nikita Volkov
23556ea460 Merge branch 'master' into pr/81
* master:
  Fix the Travis config
2017-11-01 20:37:13 +03:00
Nikita Volkov
f76d67ed1f Restore the older test 2017-11-01 20:37:01 +03:00
Nikita Volkov
aa7b373c57 Fix the Travis config 2017-11-01 20:24:57 +03:00
steve-chavez
04cefc7b47 Update unknown decoder doc 2017-10-28 18:46:52 -05:00
steve-chavez
26fc28d922 Fix #80, better behavior for unknown encoder 2017-10-28 18:11:47 -05:00
Nikita Volkov
7b8b21769e Update the version 2017-10-12 13:03:11 +01:00
Nikita Volkov
3e6ce84d1e Update the benchmark
Results:
benchmarking largeResultInVector
time                 652.5 μs   (647.1 μs .. 660.1 μs)
                     0.999 R²   (0.998 R² .. 1.000 R²)
mean                 659.8 μs   (654.2 μs .. 673.0 μs)
std dev              28.95 μs   (14.60 μs .. 52.43 μs)
variance introduced by outliers: 36% (moderately inflated)

benchmarking largeResultInList
time                 692.7 μs   (686.9 μs .. 700.0 μs)
                     0.999 R²   (0.998 R² .. 0.999 R²)
mean                 708.7 μs   (701.4 μs .. 721.6 μs)
std dev              31.04 μs   (22.26 μs .. 49.84 μs)
variance introduced by outliers: 36% (moderately inflated)

benchmarking manyLargeResults
time                 794.9 ms   (778.6 ms .. 817.3 ms)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 810.9 ms   (803.9 ms .. 816.7 ms)
std dev              9.339 ms   (0.0 s .. 10.14 ms)
variance introduced by outliers: 19% (moderately inflated)

benchmarking manySmallResults
time                 35.02 ms   (34.67 ms .. 35.26 ms)
                     0.999 R²   (0.999 R² .. 1.000 R²)
mean                 34.93 ms   (34.60 ms .. 35.22 ms)
std dev              609.2 μs   (433.5 μs .. 924.9 μs)
2017-10-09 18:44:11 +03:00
Nikita Volkov
39a54c7cef Update Travis 2017-09-23 09:19:07 +03:00
Nikita Volkov
5dac2106e4 Update Travis 2017-09-23 09:14:28 +03:00
Nikita Volkov
d779639842 Update the version 2017-09-23 09:12:22 +03:00
Nikita Volkov
661e19c148 Merge pull request #78 from AndrewRademacher/master
Reversed evaulation order when executing dropRemaining.
2017-09-23 09:09:49 +03:00
AndrewRademacher
2f15f06f08 Reversed evaulation order when executing dropRemaining. 2017-09-22 16:04:15 -05:00
Nikita Volkov
e650bc5272 Update the package version 2017-07-31 09:25:08 +03:00
Nikita Volkov
771cc1c2e0 Add GHC 8.2.1 to the Travis configuration 2017-07-31 09:24:39 +03:00
Nikita Volkov
403ca8516a Merge branch 'pr/77'
* pr/77:
  Hide fromLeft and fromRight from "base-prelude"
  discard CPP and hide fromLeft/fromRight altogether
  fixes nikita-volkov/hasql#76
2017-07-31 09:23:32 +03:00
Nikita Volkov
a3c4521de7 Hide fromLeft and fromRight from "base-prelude" 2017-07-31 09:22:21 +03:00
Michael Karg
7a1156ac15 discard CPP and hide fromLeft/fromRight altogether 2017-07-30 22:49:21 +02:00
Michael Karg
f0a8b16f48 fixes nikita-volkov/hasql#76 2017-07-26 16:00:36 +02:00
Nikita Volkov
2d5a248f3f Connect through socket in benchmarks 2017-06-06 09:38:02 +03:00
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