|
@@ -1,14 +1,11 @@
|
|
package com.typesafe.akka.http.benchmark
|
|
package com.typesafe.akka.http.benchmark
|
|
|
|
|
|
import akka.actor.ActorSystem
|
|
import akka.actor.ActorSystem
|
|
-import akka.stream.ActorMaterializer
|
|
|
|
-import akka.stream.Materializer
|
|
|
|
import com.typesafe.akka.http.benchmark.datastore.MySqlDataStore
|
|
import com.typesafe.akka.http.benchmark.datastore.MySqlDataStore
|
|
import com.typesafe.akka.http.benchmark.handlers._
|
|
import com.typesafe.akka.http.benchmark.handlers._
|
|
import com.typesafe.akka.http.benchmark.util.RandomGenerator
|
|
import com.typesafe.akka.http.benchmark.util.RandomGenerator
|
|
import com.typesafe.config.Config
|
|
import com.typesafe.config.Config
|
|
import com.typesafe.config.ConfigFactory
|
|
import com.typesafe.config.ConfigFactory
|
|
-import org.fusesource.scalate.Binding
|
|
|
|
import org.fusesource.scalate.TemplateEngine
|
|
import org.fusesource.scalate.TemplateEngine
|
|
|
|
|
|
import scala.concurrent.ExecutionContext
|
|
import scala.concurrent.ExecutionContext
|
|
@@ -19,7 +16,6 @@ class App extends Infrastructure with RandomGenerator with MySqlDataStore with P
|
|
val templateEngine = new TemplateEngine()
|
|
val templateEngine = new TemplateEngine()
|
|
implicit val system: ActorSystem = ActorSystem("akka-http-benchmark")
|
|
implicit val system: ActorSystem = ActorSystem("akka-http-benchmark")
|
|
val executionContext: ExecutionContext = system.dispatcher
|
|
val executionContext: ExecutionContext = system.dispatcher
|
|
- val materializer: Materializer = ActorMaterializer()
|
|
|
|
val appConfig: Config = ConfigFactory.load
|
|
val appConfig: Config = ConfigFactory.load
|
|
}
|
|
}
|
|
|
|
|