Commit Graph

404 Commits

Author SHA1 Message Date
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
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