Commit Graph

621 Commits

Author SHA1 Message Date
Nikita Volkov
585464f7fa Update the "base" bounds 2018-06-07 14:33:46 +08:00
Nikita Volkov
35c845eb32 Add explicit Semigroup 2018-06-06 17:23:18 +08:00
Nikita Volkov
d233716d40 Merge branch 'master' into semigroup-fixes
* master:
  Downgrade GHC in Travis
2018-06-05 16:32:07 +08:00
Nikita Volkov
0c19027860 Downgrade GHC in Travis 2018-06-05 16:31:56 +08:00
Nikita Volkov
9218bb5394 Reimplement Semigroup thru derivation 2018-06-05 16:19:50 +08:00
Nikita Volkov
615f887526 Set the version to 1.3.0.2 2018-06-05 16:19:29 +08:00
Nikita Volkov
9b7d9b32c8 Update the Travis setup 2018-06-05 15:54:39 +08:00
Nikita Volkov
f7827865f4 Set the version to 1.3.0.1 2018-05-25 19:36:35 +08:00
Nikita Volkov
e50dd830d5 Restore the correct docs 2018-05-25 19:36:02 +08:00
Nikita Volkov
509dafdfbf Rename Query to Statement 2018-05-23 18:33:34 +08:00
Nikita Volkov
e947e820bb Set the version to 1.3 2018-05-23 18:33:12 +08:00
Nikita Volkov
1516b51593 Fix a typo in the docs 2018-05-23 18:33:01 +08:00
Nikita Volkov
726097efd5 Rename some result decoders 2018-05-23 18:11:16 +08:00
Nikita Volkov
8eb3830a7f Make the codec names more consistent 2018-05-23 18:09:16 +08:00
Nikita Volkov
ea4874ca7e Reimplement to add support for query param printing in failed queries 2018-05-23 17:58:24 +08:00
Nikita Volkov
151e91451f Set the version to 1.2 2018-05-20 19:52:55 +08:00
Nikita Volkov
3b4d713f48 Update the Tasty dep 2018-05-20 19:52:47 +08:00
Markus Schirp
75c0d37ca8 Fix readme link for real (#91) 2018-03-23 08:16:47 +03:00
Nikita Volkov
8060c0775c
Merge pull request #90 from mbj/fix/readme-link
Fix Readme link
2018-03-19 10:15:57 +03:00
Markus Schirp
37b752306a Fix link to hasql-cursor-transactions 2018-03-16 01:13:56 +00:00
Markus Schirp
45b4b113b6 Fix whitespace 2018-03-16 01:13:45 +00:00
Nikita Volkov
3129188ef6
Merge pull request #88 from felixonmars/patch-2
Allow tasty-quickcheck 0.10
2018-03-05 21:00:50 +03:00
Felix Yan
2d37fd0950
Allow tasty-quickcheck 0.10
Tests pass with the new test tool.
2018-03-05 21:05:06 +08:00
Nikita Volkov
25152c78e4
Merge pull request #87 from felixonmars/patch-1
Allow tasty 1.0
2018-02-17 11:09:58 +03:00
Felix Yan
d4ffd71e74
Allow tasty 1.0
Tests pass here.
2018-02-17 02:53:35 +08:00
Nikita Volkov
efb38a05d5
Merge pull request #84 from felixonmars/patch-1
Allow tasty-hunit 0.10
2017-12-06 16:50:01 +03:00
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