-
Notifications
You must be signed in to change notification settings - Fork 0
RectangleSpliterator #1
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
Open
Aldaer
wants to merge
2
commits into
senia-psm:master
Choose a base branch
from
Aldaer:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| Benchmark (innerLength) (outerLength) Mode Cnt Score Error Units | ||
| RectangleSpliteratorExercise.baiseline_par 100 100 avgt 10 0,009 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 100 1000 avgt 10 0,022 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 100 10000 avgt 10 0,239 ± 0,004 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 1000 100 avgt 10 0,015 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 1000 1000 avgt 10 0,110 ± 0,004 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 1000 10000 avgt 10 3,162 ± 0,038 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 10000 100 avgt 10 0,095 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 10000 1000 avgt 10 2,915 ± 0,032 ms/op | ||
| RectangleSpliteratorExercise.baiseline_par 10000 10000 avgt 10 28,678 ± 0,514 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 100 100 avgt 10 0,005 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 100 1000 avgt 10 0,048 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 100 10000 avgt 10 0,659 ± 0,046 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 1000 100 avgt 10 0,031 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 1000 1000 avgt 10 0,361 ± 0,023 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 1000 10000 avgt 10 4,914 ± 0,056 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 10000 100 avgt 10 0,304 ± 0,002 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 10000 1000 avgt 10 3,853 ± 0,111 ms/op | ||
| RectangleSpliteratorExercise.baiseline_seq 10000 10000 avgt 10 37,277 ± 0,271 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 100 100 avgt 10 0,023 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 100 1000 avgt 10 0,161 ± 0,002 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 100 10000 avgt 10 1,561 ± 0,020 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 1000 100 avgt 10 0,160 ± 0,004 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 1000 1000 avgt 10 1,516 ± 0,074 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 1000 10000 avgt 10 15,453 ± 0,510 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 10000 100 avgt 10 1,550 ± 0,013 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 10000 1000 avgt 10 15,762 ± 0,356 ms/op | ||
| RectangleSpliteratorExercise.rectangle_par 10000 10000 avgt 10 86,951 ± 1,201 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 100 100 avgt 10 0,028 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 100 1000 avgt 10 0,545 ± 0,003 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 100 10000 avgt 10 3,211 ± 0,011 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 1000 100 avgt 10 0,532 ± 0,001 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 1000 1000 avgt 10 2,591 ± 0,010 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 1000 10000 avgt 10 26,322 ± 0,045 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 10000 100 avgt 10 2,581 ± 0,020 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 10000 1000 avgt 10 25,866 ± 0,074 ms/op | ||
| RectangleSpliteratorExercise.rectangle_seq 10000 10000 avgt 10 258,187 ± 0,691 ms/op |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,15 +10,15 @@ | |
| @Fork(1) | ||
| @BenchmarkMode(Mode.AverageTime) | ||
| @OutputTimeUnit(TimeUnit.MILLISECONDS) | ||
| @Warmup(iterations = 10, time = 1, timeUnit = TimeUnit.SECONDS) | ||
| @Warmup(iterations = 3, time = 1, timeUnit = TimeUnit.SECONDS) | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use |
||
| @Measurement(iterations = 10, time = 1, timeUnit = TimeUnit.SECONDS) | ||
| @State(Scope.Thread) | ||
| public class RectangleSpliteratorExercise { | ||
|
|
||
| @Param({"100"}) | ||
| @Param({"100", "1000", "10000"}) | ||
| public int outerLength; | ||
|
|
||
| @Param({"100"}) | ||
| @Param({"100", "1000", "10000"}) | ||
| public int innerLength; | ||
|
|
||
| public int[][] array; | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You don't need
tryhere.