This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File | |
import scala.io.Source | |
object StackDumpAnalyzer extends App { | |
val ThreadLine = """"([^"]+)" #(\d+) prio=(\d+) os_prio=(\d+) tid=0x([0-9a-f]+) nid=0x([0-9a-f]+) (.*)""".r | |
val file = "ThreadDump.txt" | |
case class ThreadState(name: String, id: Int, prio: Int, osPrio: Int, tid: Long, nid: Int, state: String) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* sbt -- Simple Build Tool | |
* Copyright 2011 Mark Harrah, Eugene Yokota | |
*/ | |
package sbt | |
package myinspect | |
import java.io.File | |
import Def.{ScopedKey, compiled, flattenLocals} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intel(R) Core(TM) i7-3840QM CPU @ 2.80GHz | |
Turbo off | |
Linux 64bit | |
jmh:run -i 4 -wi 4 -f 1 -p throughPut=1 -p dispatcher=affinity-dispatcher,default-fj-dispatcher .*AffinityPoolReq.* | |
[info] Benchmark (dispatcher) (mailbox) (throughPut) Mode Cnt Score Error Units | |
[info] AffinityPoolRequestResponseBenchmark.queryUserServiceActor affinity-dispatcher SingleConsumerOnlyUnboundedMailbox 1 thrpt 4 3634030.863 ± 3728431.081 ops/s | |
[info] AffinityPoolRequestResponseBenchmark.queryUserServiceActor default-fj-dispatcher SingleConsumerOnlyUnboundedMailbox 1 thrpt 4 4031047.752 ± 1552394.546 ops/s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package akka.http | |
import akka.actor.ActorSystem | |
import akka.http.impl.util.ExampleHttpContexts | |
import akka.http.scaladsl.model.{HttpRequest, HttpResponse} | |
import akka.http.scaladsl.{Http, HttpsConnectionContext} | |
import akka.stream.ActorMaterializer | |
import akka.stream.scaladsl.Flow | |
import com.typesafe.config.ConfigFactory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.atomic.AtomicLong | |
import akka.actor.ActorSystem | |
import akka.http.scaladsl.Http | |
import akka.http.scaladsl.model._ | |
import akka.stream.ActorMaterializer | |
import akka.stream.scaladsl.{ Sink, Source } | |
import com.typesafe.config.ConfigFactory | |
import scala.concurrent.Future |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package akka.remote // needs to be in this package because to access `private[akka]` code | |
import java.net.InetSocketAddress | |
import javax.net.ssl.SSLContext | |
import akka.event.NoMarkerLogging | |
import akka.remote.transport.netty.SSLSettings | |
import com.typesafe.config.ConfigFactory | |
object TestRemoteSSLSettings extends App { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TargetVersion: Scala 2.12 LastVersion: Scala 2.11 | |
70 libraries available for Scala 2.12 (see the end for sbt config lines) | |
akka-actor 36 versions: 2.6.0-M1, 2.5.9, 2.5.8, 2.5.7, 2.5.6, ... [31 more] | |
akka-stream 36 versions: 2.6.0-M1, 2.5.9, 2.5.8, 2.5.7, 2.5.6, ... [31 more] | |
akka-http-core 29 versions: 10.1.8, 10.1.7, 10.1.6, 10.1.5, 10.1.4, ... [24 more] | |
akka-http 28 versions: 10.1.8, 10.1.7, 10.1.6, 10.1.5, 10.1.4, ... [23 more] | |
akka-osgi 36 versions: 2.6.0-M1, 2.5.9, 2.5.8, 2.5.7, 2.5.6, ... [31 more] | |
akka-slf4j 36 versions: 2.6.0-M1, 2.5.9, 2.5.8, 2.5.7, 2.5.6, ... [31 more] | |
akka-testkit 36 versions: 2.6.0-M1, 2.5.9, 2.5.8, 2.5.7, 2.5.6, ... [31 more] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TargetVersion: Scala 2.12.0-RC2 LastVersion: Scala 2.11 | |
39 libraries available for Scala 2.12.0-RC2 (see the end for sbt config lines) | |
akka-actor 2 versions: 2.4.12, 2.4.11 | |
akka-stream 2 versions: 2.4.12, 2.4.11 | |
akka-http 1 versions: 2.4.11 | |
akka-osgi 2 versions: 2.4.12, 2.4.11 | |
akka-slf4j 2 versions: 2.4.12, 2.4.11 | |
akka-testkit 2 versions: 2.4.12, 2.4.11 | |
scala-xml 1 versions: 1.0.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TargetVersion: Scala 2.12.0-RC1 LastVersion: Scala 2.11 | |
34 libraries available for Scala 2.12.0-RC1 (see the end for sbt config lines) | |
akka-actor 2 versions: 2.4.11, 2.4.10 | |
akka-stream 2 versions: 2.4.11, 2.4.10 | |
akka-http 2 versions: 2.4.11, 2.4.10 | |
akka-osgi 2 versions: 2.4.11, 2.4.10 | |
akka-slf4j 2 versions: 2.4.11, 2.4.10 | |
akka-testkit 2 versions: 2.4.11, 2.4.10 | |
scala-xml 2 versions: 1.0.6, 1.0.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import Keys._ | |
package sbt { | |
object Access { | |
def compilerReporter = sbt.Keys.compilerReporter | |
} | |
} | |
package autoimport { |