diff options
author | Jon Pretty <jon.pretty@propensive.com> | 2017-11-09 16:34:18 +0000 |
---|---|---|
committer | Jon Pretty <jon.pretty@propensive.com> | 2017-11-09 16:34:18 +0000 |
commit | 5d862115bd31fcd42484293c1f64652192d95d26 (patch) | |
tree | 1e5301cd51192de114db20616e1c18e3d2726a52 /benchmarks/2.12-tl/src/kittens | |
parent | e396b7a038e458de37ced6b59e0d367883bc3b71 (diff) | |
download | magnolia-5d862115bd31fcd42484293c1f64652192d95d26.tar.gz magnolia-5d862115bd31fcd42484293c1f64652192d95d26.tar.bz2 magnolia-5d862115bd31fcd42484293c1f64652192d95d26.zip |
Upgrade to SBT 1.0 and include testing binariesv0.5.0
Diffstat (limited to 'benchmarks/2.12-tl/src/kittens')
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/complex.scala | 28 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/eq_10.scala | 18 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/eq_50.scala | 63 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/gadt_100.scala | 118 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/obj.scala | 118 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/show_10.scala | 18 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/show_50.scala | 63 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/show_tree_50.scala | 63 | ||||
-rw-r--r-- | benchmarks/2.12-tl/src/kittens/small_100.scala | 118 |
9 files changed, 607 insertions, 0 deletions
diff --git a/benchmarks/2.12-tl/src/kittens/complex.scala b/benchmarks/2.12-tl/src/kittens/complex.scala new file mode 100644 index 0000000..70d0d95 --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/complex.scala @@ -0,0 +1,28 @@ +import adt._ +import cats._ +import derived._ +import cats.Show +import cats.instances.all._ + +object Gen { + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] + derive.eq[Country] +} diff --git a/benchmarks/2.12-tl/src/kittens/eq_10.scala b/benchmarks/2.12-tl/src/kittens/eq_10.scala new file mode 100644 index 0000000..bed5915 --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/eq_10.scala @@ -0,0 +1,18 @@ +import adt._ +import cats._ +import derived._ +import cats.Eq +import cats.instances.all._ + +object Gen { + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] +} diff --git a/benchmarks/2.12-tl/src/kittens/eq_50.scala b/benchmarks/2.12-tl/src/kittens/eq_50.scala new file mode 100644 index 0000000..cac774d --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/eq_50.scala @@ -0,0 +1,63 @@ +import adt._ +import cats._ +import derived._ +import cats.Eq +import cats.instances.all._ + +object Gen { + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + derive.eq[Alphabet] + +} diff --git a/benchmarks/2.12-tl/src/kittens/gadt_100.scala b/benchmarks/2.12-tl/src/kittens/gadt_100.scala new file mode 100644 index 0000000..aa6710d --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/gadt_100.scala @@ -0,0 +1,118 @@ +import adt._ +import cats._ +import derived._ +import cats.eq +import cats.instances.all._ + +object Gen { + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + derive.eq[GTree[String]] + +} diff --git a/benchmarks/2.12-tl/src/kittens/obj.scala b/benchmarks/2.12-tl/src/kittens/obj.scala new file mode 100644 index 0000000..c01199e --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/obj.scala @@ -0,0 +1,118 @@ +import adt._ +import cats._ +import derived._ +import cats.Show +import cats.instances.all._ + +object Gen { + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + derive.show[Jan.type] + +} diff --git a/benchmarks/2.12-tl/src/kittens/show_10.scala b/benchmarks/2.12-tl/src/kittens/show_10.scala new file mode 100644 index 0000000..5c2a28c --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/show_10.scala @@ -0,0 +1,18 @@ +import adt._ +import cats._ +import derived._ +import cats.Show +import cats.instances.all._ + +object Gen { + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] +} diff --git a/benchmarks/2.12-tl/src/kittens/show_50.scala b/benchmarks/2.12-tl/src/kittens/show_50.scala new file mode 100644 index 0000000..afd085b --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/show_50.scala @@ -0,0 +1,63 @@ +import adt._ +import cats._ +import derived._ +import cats.Show +import cats.instances.all._ + +object Gen { + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + derive.show[Alphabet] + +} diff --git a/benchmarks/2.12-tl/src/kittens/show_tree_50.scala b/benchmarks/2.12-tl/src/kittens/show_tree_50.scala new file mode 100644 index 0000000..18ac6d9 --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/show_tree_50.scala @@ -0,0 +1,63 @@ +import adt._ +import cats._ +import derived._ +import cats.Show +import cats.instances.all._ + +object Gen { + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + derive.show[Tree] + +} diff --git a/benchmarks/2.12-tl/src/kittens/small_100.scala b/benchmarks/2.12-tl/src/kittens/small_100.scala new file mode 100644 index 0000000..51d922d --- /dev/null +++ b/benchmarks/2.12-tl/src/kittens/small_100.scala @@ -0,0 +1,118 @@ +import adt._ +import cats._ +import derived._ +import cats.Show +import cats.instances.all._ + +object Gen { + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + derive.show[Letter] + +} |