Skip to content

[WIP] Benchmark Tests#686

Open
prasannspv wants to merge 6 commits into
atlassian-labs:masterfrom
prasannspv:master
Open

[WIP] Benchmark Tests#686
prasannspv wants to merge 6 commits into
atlassian-labs:masterfrom
prasannspv:master

Conversation

@prasannspv

Copy link
Copy Markdown

No description provided.

@atlassian-cla-bot

Copy link
Copy Markdown

Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution.
If your email is listed below, please ensure that you sign the CLA with the same email address.

The following users still need to sign our CLA:
❌pv-atl

Already signed the CLA? To re-check, try refreshing the page.

@State(Scope.Benchmark)
@Warmup(iterations = 5, time = 5)
@Measurement(iterations = 5)
@Fork(2)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker for this PR: For GraphQL Java benchmarks we had slightly fewer warmup and measurement runs.

Usually 2 for warmup and 2-3 for measurement

Because the GraphQL Java benchmark tests run on every commit we had to be more careful there about the total running time for the tests (we arbitrarily set a limit of about 1 hour).

@Benchmark
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
fun bechmarkThroughput() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this is a typo, should be benchmark

"""

println(logMessage)
// println(logMessage)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Did you mean to leave this comment out?

Comment thread test/build.gradle.kts
@@ -4,6 +4,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: you can remove WIP from the PR name, to indicate you're ready for a review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants