mirror of
https://github.com/enso-org/enso.git
synced 2024-11-09 17:51:29 +03:00
fix parser benchmarks (#629)
This commit is contained in:
parent
bf758ebc6d
commit
6e2d552716
@ -258,7 +258,7 @@ lazy val syntax = crossProject(JVMPlatform, JSPlatform)
|
||||
.jvmSettings(
|
||||
inConfig(Benchmark)(Defaults.testSettings),
|
||||
unmanagedSourceDirectories in Benchmark +=
|
||||
baseDirectory.value.getParentFile / "src/bench/scala",
|
||||
baseDirectory.value.getParentFile / "shared/src/bench/scala",
|
||||
libraryDependencies += "com.storm-enroute" %% "scalameter" % "0.19" % "bench",
|
||||
testFrameworks := List(
|
||||
new TestFramework("org.scalatest.tools.Framework"),
|
||||
|
@ -71,7 +71,7 @@ object ParserBenchmark extends Bench.OfflineRegressionReport {
|
||||
)
|
||||
|
||||
|
||||
val filename = "common/scala/syntax/specialization/.jvm/target/bench-input.txt"
|
||||
val filename = "target/parser-bench-input.txt"
|
||||
|
||||
if (!new File(filename).exists()) {
|
||||
val file = new PrintWriter(new File(filename))
|
||||
|
Loading…
Reference in New Issue
Block a user