Skip to content

Commit

Permalink
Merge pull request #20 from rickowens/pr
Browse files Browse the repository at this point in the history
Performance
  • Loading branch information
rickowens authored Sep 14, 2022
2 parents 7b24ee4 + dff9e25 commit e0ea737
Show file tree
Hide file tree
Showing 8 changed files with 587 additions and 373 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/.stack-work
/stack.yaml.lock

/dist-newstyle
6 changes: 6 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
packages:
"."
package crdt-event-fold
ghc-options:
-Werror

138 changes: 138 additions & 0 deletions cabal.project.freeze
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
active-repositories: owensmurray:merge, hackage.haskell.org:merge
constraints: any.HUnit ==1.6.2.0,
any.OneTuple ==0.3.1,
any.QuickCheck ==2.14.2,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.aeson ==2.0.3.0,
aeson -cffi +ordered-keymap,
any.ansi-terminal ==0.11.3,
ansi-terminal -example,
any.array ==0.5.4.0,
any.assoc ==1.0.2,
any.async ==2.2.4,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.auto-update ==0.1.6,
any.base ==4.15.1.0,
any.base-compat ==0.12.2,
any.base-compat-batteries ==0.12.2,
any.base-orphans ==0.8.7,
any.bifunctors ==5.5.12,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.bitvec ==1.1.3.0,
bitvec -libgmp,
any.bytestring ==0.10.12.1,
any.call-stack ==0.4.0,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.conduit ==1.3.4.2,
any.conduit-extra ==1.3.6,
any.containers ==0.6.4.1,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.data-bword ==0.1.0.2,
any.data-default-class ==0.1.2.0,
any.data-dword ==0.3.2.1,
any.data-fix ==0.3.2,
any.deepseq ==1.4.5.0,
any.directory ==1.3.6.2,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.easy-file ==0.2.2,
any.exceptions ==0.10.4,
any.fast-logger ==3.1.1,
any.filepath ==1.4.2.1,
any.ghc-bignum ==1.1,
any.ghc-boot-th ==9.0.2,
any.ghc-prim ==0.7.0,
any.hashable ==1.4.1.0,
hashable +containers +integer-gmp -random-initial-seed,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.hspec ==2.8.5,
any.hspec-core ==2.8.5,
any.hspec-discover ==2.8.5,
any.hspec-expectations ==0.8.2,
any.indexed-traversable ==0.1.2,
any.indexed-traversable-instances ==0.1.1.1,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.lifted-base ==0.2.3.12,
any.monad-control ==1.0.3.1,
any.monad-logger ==0.3.37,
monad-logger +template_haskell,
any.monad-loops ==0.4.3,
monad-loops +base4,
any.mono-traversable ==1.0.15.3,
any.mtl ==2.2.2,
any.network ==3.1.2.7,
network -devel,
any.old-locale ==1.0.0.7,
any.old-time ==1.1.0.3,
any.pretty ==1.1.3.6,
any.primitive ==0.7.4.0,
any.process ==1.6.13.2,
any.quickcheck-io ==0.2.0,
any.random ==1.2.1.1,
any.resourcet ==1.2.6,
any.rts ==1.0.2,
any.scientific ==0.3.7.0,
scientific -bytestring-builder -integer-simple,
any.semialign ==1.2.0.1,
semialign +semigroupoids,
any.semigroupoids ==5.3.7,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.setenv ==0.1.1.3,
any.split ==0.2.3.5,
any.splitmix ==0.1.0.4,
splitmix -optimised-mixer,
any.stm ==2.5.0.0,
any.stm-chans ==3.0.0.6,
any.streaming-commons ==0.2.2.4,
streaming-commons -use-bytestring-builder,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.template-haskell ==2.17.0.0,
any.text ==1.2.5.0,
any.text-short ==0.1.5,
text-short -asserts,
any.tf-random ==0.5,
any.th-abstraction ==0.4.4.0,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time-compat ==1.9.6.1,
time-compat -old-locale,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.typed-process ==0.2.10.1,
any.unix ==2.7.2.2,
any.unix-compat ==0.6,
unix-compat -old-time,
any.unix-time ==0.4.8,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.19.1,
unordered-containers -debug,
any.uuid-types ==1.0.5,
any.vector ==0.13.0.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.vector-algorithms ==0.9.0.1,
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks,
any.vector-stream ==0.1.0.0,
any.witherable ==0.4.2,
any.zlib ==0.6.3.0,
zlib -bundled-c-zlib -non-blocking-ffi -pkg-config
index-state: hackage.haskell.org 2022-09-08T23:38:22Z
24 changes: 23 additions & 1 deletion crdt-event-fold.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: crdt-event-fold
version: 1.7.1.0
version: 1.8.0.0
synopsis: Garbage collected event folding CRDT.
description: Garbage collected event folding CRDT. Consistently
apply arbitrary operations to replicated data.
Expand Down Expand Up @@ -55,3 +55,25 @@ test-suite tests
, crdt-event-fold
, hspec >= 2.8.5 && < 2.9


benchmark many-outstanding-events
import: dependencies, warnings
type: exitcode-stdio-1.0
main-is: benchmark-many-events.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends:
, crdt-event-fold


benchmark serialization
import: dependencies, warnings
type: exitcode-stdio-1.0
main-is: benchmark-serialization.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends:
, crdt-event-fold
, bytestring >= 0.10.12.1 && < 0.11


Loading

0 comments on commit e0ea737

Please sign in to comment.