-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(benchmark): make benchmarks runnable #174
Conversation
kgraphql/src/jvm/kotlin/com/apurebase/kgraphql/BenchmarkSchema.kt
Outdated
Show resolved
Hide resolved
kgraphql/src/jvm/kotlin/com/apurebase/kgraphql/ParallelExecutionBenchmark.kt
Outdated
Show resolved
Hide resolved
|
||
private val query = buildString { | ||
append("{") | ||
(0..999).forEach { appendLine("automated$it".prependIndent(" ")) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the benefit of prependIndent
here? Formatting shouldn't matter for execution, should it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There isn't any, it was just for manual reviewing of the query.
e13a27c
to
2e898e5
Compare
The benchmarks have been excluded from the build for quite a while. Repair and re-add the benchmarks to the Gradle build.
2e898e5
to
3b7af76
Compare
The benchmarks have been excluded from the
build for quite a while. Repair and re-add the
benchmarks to the Gradle build.
Resolves #50