/ugeneric-compare

Compile time compare between ugeneric and each framework itself.

Primary LanguageScala

ugeneric-compare

Compile time compare between ugeneric and each framework itself.

Slick

1.Run

sbt>cleanAll
sbt>updateAll

2.Run

sbt>slickRaw

and write the waste time to txt.

3.Run

sbt>slickCompare

and write the waste time to txt.

Then get the slick module test result:

[slick module]
sbt>cleanAll
sbt>updateAll
sbt>slickRaw
Takes 94s
sbt>slickCompare
Takes 24s

Circe

1.Run

sbt>cleanAll
sbt>updateAll
sbt>circePre

2.Run

sbt>circeRaw

and write the waste time to txt.

3.Run

sbt>circeDerivation

and write the waste time to txt.

4.Run

sbt>circeCompare

and write the waste time to txt.

Then get the circe module test result:

[circe module]
sbt>cleanAll
sbt>updateAll
sbt>circePre
sbt>circeRaw
Takes 48s
sbt>circeDerivation
Takes 6s
sbt>circeCompare
Takes 21s

Circe-Fail

1.Run

sbt>cleanAll
sbt>updateAll

Change a file in https://github.com/djx314/ugeneric-compare/blob/master/modules/circe-fail/models/src/main/scala/ModelForFail.scala makes it compile failed in circe.

Then run

sbt>circeFailPre

2.Run

sbt>circeFailRaw

and write the waste time to txt.

3.Run

sbt>circeFailDerivation

and write the waste time to txt.

4.Run

sbt>circeFailCompare

and write the waste time to txt.

Then get the circe fail module test result:

[circe fail module]
sbt>cleanAll
sbt>updateAll
Change the file to compile fail
sbt>circeFailPre
sbt>circeFailRaw
Takes 63s
sbt>circeFailDerivation
Takes 1s
sbt>circeFailCompare
Takes 1s