Skip to content

Instantly share code, notes, and snippets.

@fwbrasil
Created February 2, 2015 08:30
Show Gist options
  • Save fwbrasil/39789d25958e808c6ad6 to your computer and use it in GitHub Desktop.
Save fwbrasil/39789d25958e808c6ad6 to your computer and use it in GitHub Desktop.
benchmark
[warn] The global sbt directory is now versioned and is located at /Users/flavio/.sbt/0.13.
[warn] You are seeing this warning because there is global configuration in /Users/flavio/.sbt but not in /Users/flavio/.sbt/0.13.
[warn] The global sbt directory may be changed via the sbt.global.base system property.
[info] Loading project definition from /Users/flavio/workspace/Activate_benchmark/project
[info] Set current project to Activate_benchmark (in build file:/Users/flavio/workspace/Activate_benchmark/)
> run
[info] Compiling 1 Scala source to /Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes...
[info] Running activate.ActivateBenchMark
09:27:43.191 [run-main-0] DEBUG org.reflections.Reflections - going to scan these urls:
file:/Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-core_2.11/jars/activate-core_2.11-1.7.jar!/
09:27:43.455 [run-main-0] INFO org.reflections.Reflections - Reflections took 258 ms to scan 2 urls, producing 46 keys and 881 values
09:27:43.486 [run-main-0] DEBUG org.reflections.Reflections - going to scan these urls:
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-jdbc_2.11/jars/activate-jdbc_2.11-1.7.jar!/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-jdbc-async_2.11/jars/activate-jdbc-async_2.11-1.7.jar!/
file:/Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-core_2.11/jars/activate-core_2.11-1.7.jar!/
09:27:43.698 [run-main-0] INFO org.reflections.Reflections - Reflections took 212 ms to scan 4 urls, producing 153 keys and 3655 values
09:27:44.927 [run-main-0] INFO n.fwbrasil.activate.cache.LiveCache - Initializing live cache for context persistenceContext
09:27:45.100 [run-main-0] INFO activate.persistenceContext$ - Initializing context persistenceContext
09:27:45.692 [run-main-0] DEBUG org.reflections.Reflections - going to scan these urls:
file:/Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-core_2.11/jars/activate-core_2.11-1.7.jar!/
09:27:45.720 [run-main-0] INFO org.reflections.Reflections - Reflections took 28 ms to scan 2 urls, producing 28 keys and 378 values
Elapsed time for insert statements: 710ms
Elapsed time for select statements: 1733ms
Elapsed time for insert statements: 416ms
Elapsed time for select statements: 2036ms
Elapsed time for insert statements: 430ms
Elapsed time for select statements: 2283ms
Elapsed time for insert statements: 399ms
Elapsed time for select statements: 2673ms
Elapsed time for insert statements: 440ms
Elapsed time for select statements: 3003ms
[success] Total time: 27 s, completed Feb 2, 2015 9:28:02 AM
> 09:28:15.324 [Hikari Housekeeping Timer] DEBUG com.zaxxer.hikari.pool.HikariPool - Before pool cleanup Pool stats HikariPool-0 (total=20, inUse=0, avail=20, waiting=0)
09:28:15.327 [Hikari Housekeeping Timer] DEBUG com.zaxxer.hikari.pool.HikariPool - After pool cleanup Pool stats HikariPool-0 (total=20, inUse=0, avail=20, waiting=0)
09:28:45.325 [Hikari Housekeeping Timer] DEBUG com.zaxxer.hikari.pool.HikariPool - Before pool cleanup Pool stats HikariPool-0 (total=20, inUse=0, avail=20, waiting=0)
09:28:45.325 [Hikari Housekeeping Timer] DEBUG com.zaxxer.hikari.pool.HikariPool - After pool cleanup Pool stats HikariPool-0 (total=20, inUse=0, avail=20, waiting=0)
[warn] The global sbt directory is now versioned and is located at /Users/flavio/.sbt/0.13.
[warn] You are seeing this warning because there is global configuration in /Users/flavio/.sbt but not in /Users/flavio/.sbt/0.13.
[warn] The global sbt directory may be changed via the sbt.global.base system property.
run[info] Loading project definition from /Users/flavio/workspace/Activate_benchmark/project
[info] Set current project to Activate_benchmark (in build file:/Users/flavio/workspace/Activate_benchmark/)
> run
[info] Compiling 1 Scala source to /Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes...
[info] Running activate.ActivateBenchMark
09:29:38.242 [run-main-0] DEBUG org.reflections.Reflections - going to scan these urls:
file:/Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-core_2.11/jars/activate-core_2.11-1.7.jar!/
09:29:38.486 [run-main-0] INFO org.reflections.Reflections - Reflections took 240 ms to scan 2 urls, producing 46 keys and 881 values
09:29:38.512 [run-main-0] DEBUG org.reflections.Reflections - going to scan these urls:
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-jdbc_2.11/jars/activate-jdbc_2.11-1.7.jar!/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-jdbc-async_2.11/jars/activate-jdbc-async_2.11-1.7.jar!/
file:/Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-core_2.11/jars/activate-core_2.11-1.7.jar!/
09:29:38.717 [run-main-0] INFO org.reflections.Reflections - Reflections took 205 ms to scan 4 urls, producing 153 keys and 3655 values
09:29:40.000 [run-main-0] INFO n.fwbrasil.activate.cache.LiveCache - Initializing live cache for context persistenceContext
09:29:40.220 [run-main-0] INFO activate.persistenceContext$ - Initializing context persistenceContext
09:29:40.820 [run-main-0] DEBUG org.reflections.Reflections - going to scan these urls:
file:/Users/flavio/workspace/Activate_benchmark/target/scala-2.11/classes/
jar:file:/Users/flavio/.ivy2/cache/net.fwbrasil/activate-core_2.11/jars/activate-core_2.11-1.7.jar!/
09:29:40.850 [run-main-0] INFO org.reflections.Reflections - Reflections took 30 ms to scan 2 urls, producing 28 keys and 378 values
Elapsed time for insert statements: 699ms
Elapsed time for select statements: 944ms
Elapsed time for insert statements: 487ms
Elapsed time for select statements: 959ms
Elapsed time for insert statements: 408ms
Elapsed time for select statements: 1082ms
Elapsed time for insert statements: 411ms
Elapsed time for select statements: 1327ms
Elapsed time for insert statements: 443ms
Elapsed time for select statements: 1536ms
[success] Total time: 22 s, completed Feb 2, 2015 9:29:51 AM
>
Last login: Mon Feb 2 09:24:27 on ttys002
cfwbrasil:~ flavio$ cd workspace
fwbrasil:workspace flavio$ cd Squeryl_benchmark/
fwbrasil:Squeryl_benchmark flavio$ sbt
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
[warn] The global sbt directory is now versioned and is located at /Users/flavio/.sbt/0.13.
[warn] You are seeing this warning because there is global configuration in /Users/flavio/.sbt but not in /Users/flavio/.sbt/0.13.
[warn] The global sbt directory may be changed via the sbt.global.base system property.
[info] Set current project to Scala IntelliJ Template with SBT (in build file:/Users/flavio/workspace/Squeryl_benchmark/)
> run
[info] Updating {file:/Users/flavio/workspace/Squeryl_benchmark/}squeryl_benchmark...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading http://repo1.maven.org/maven2/org/squeryl/squeryl_2.10/0.9.5-6/squeryl_2.10-0.9.5-6.jar ...
[info] [SUCCESSFUL ] org.squeryl#squeryl_2.10;0.9.5-6!squeryl_2.10.jar (1783ms)
[info] downloading http://repo1.maven.org/maven2/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar ...
[info] [SUCCESSFUL ] cglib#cglib-nodep;2.2!cglib-nodep.jar (545ms)
[info] Done updating.
[info] Compiling 1 Scala source to /Users/flavio/workspace/Squeryl_benchmark/target/scala-2.10/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.10.4. Compiling...
[info] Compilation completed in 10.706 s
[info] Running SquerylBenchMark
Elapsed time for insert statements: 1980ms
Elapsed time for select statements: 1609ms
Elapsed time for insert statements: 824ms
Elapsed time for select statements: 1430ms
Elapsed time for insert statements: 834ms
Elapsed time for select statements: 2006ms
Elapsed time for insert statements: 489ms
Elapsed time for select statements: 2070ms
Elapsed time for insert statements: 541ms
Elapsed time for select statements: 2437ms
[success] Total time: 34 s, completed Feb 2, 2015 9:25:29 AM
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment