-
Notifications
You must be signed in to change notification settings - Fork 450
test: Perf tests part 1. Basis for multiprocess tests process orchestration. #922
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
Merged
Conversation
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
bendoyon
reviewed
Jun 28, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
bendoyon
reviewed
Jun 28, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
bendoyon
reviewed
Jun 28, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
bendoyon
reviewed
Jun 28, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/MultiprocessOrchestration.cs
Outdated
Show resolved
Hide resolved
bendoyon
reviewed
Jun 28, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/MultiprocessOrchestration.cs
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/MultiprocessOrchestration.cs
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/MultiprocessOrchestration.cs
Show resolved
Hide resolved
0xFA11
reviewed
Jun 29, 2021
com.unity.multiplayer.mlapi/Tests/Runtime/com.unity.multiplayer.mlapi.runtimetests.asmdef
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jun 29, 2021
testproject/Assets/Tests/Runtime/testproject.runtimetests.asmdef
Outdated
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
Fixed some typos Co-authored-by: Matt Walsh <69258106+mattwalsh-unity@users.noreply.github.com>
…ity-Technologies/com.unity.multiplayer.mlapi into test/multiprocess-tests/orchestration * 'test/multiprocess-tests/orchestration' of github.com:Unity-Technologies/com.unity.multiplayer.mlapi: Apply suggestions from code review
…ity-Technologies/com.unity.multiplayer.mlapi into test/multiprocess-tests/orchestration * 'test/multiprocess-tests/orchestration' of github.com:Unity-Technologies/com.unity.multiplayer.mlapi: feat: log warning if detected child NetworkObjects under a NetworkPrefab (#938) fix: reducing log level for noisy log and adding details for developer log (#926) feat: users can set authority on network transform programmatically (#868) refactor: move NetworkBehaviour update to a separate non-static class (#917) test: add utils for multi instance tests (#914) test: downgrading testproject to 2020.3.12f1 (#927) refactor: decouple PendingSoftSyncObjects from NetworkSpawnManager (#913) chore: Change function signature of OnDespawnObject to accept NetworkObject (#928) fix: Empty prefab removal (#919)
0xFA11
reviewed
Jul 6, 2021
0xFA11
reviewed
Jul 6, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
Comment on lines
31
to
32
[MenuItem(MultiprocessBaseMenuName+"/Build Test Player in debug mode")] | ||
public static void BuildDebug() |
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.
make this similar to Build Settings window (see "Development Build" check there, term is "Development" not "Debug")
Suggested change
[MenuItem(MultiprocessBaseMenuName+"/Build Test Player in debug mode")] | |
public static void BuildDebug() | |
[MenuItem(MultiprocessBaseMenuName+"/Build Test Player (Development)")] | |
public static void BuildDevelopment() |
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.
See above answer.
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
0xFA11
reviewed
Jul 8, 2021
testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: M. Fatih MAR <mfatihmar@gmail.com>
Co-authored-by: M. Fatih MAR <mfatihmar@gmail.com>
…uildMultiprocessTestPlayer.cs Co-authored-by: M. Fatih MAR <mfatihmar@gmail.com>
…ity-Technologies/com.unity.multiplayer.mlapi into test/multiprocess-tests/orchestration * 'test/multiprocess-tests/orchestration' of github.com:Unity-Technologies/com.unity.multiplayer.mlapi: Update testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs rename test scene changing root menu no longer ignore '[Ss]treamingAssets/buildInfo.txt' feat: network animator Trigger parameter support (#872) # Conflicts: # testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs
0xFA11
approved these changes
Jul 8, 2021
SamuelBellomo
added a commit
that referenced
this pull request
Jul 8, 2021
…-tests * develop: test: Perf tests part 1. Basis for multiprocess tests process orchestration. (#922) # Conflicts: # testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs # testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/MultiprocessOrchestration.cs
SamuelBellomo
added a commit
that referenced
this pull request
Jul 8, 2021
…est/multiprocess-tests/execute-step-in-context * test/multiprocess-tests/base-multiprocess-tests: test: Perf tests part 1. Basis for multiprocess tests process orchestration. (#922)
SamuelBellomo
added a commit
that referenced
this pull request
Jul 8, 2021
…est/multiprocess-tests/adding-perf-tests-for-spawn * test/multiprocess-tests/execute-step-in-context: test: Perf tests part 1. Basis for multiprocess tests process orchestration. (#922) # Conflicts: # testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/BuildMultiprocessTestPlayer.cs # testproject/Assets/Tests/Runtime/MultiprocessRuntime/Helpers/MultiprocessOrchestration.cs
SamuelBellomo
added a commit
that referenced
this pull request
Jul 8, 2021
…to test/multiprocess-tests/adding-doc-on-how-to-use * test/multiprocess-tests/adding-perf-tests-for-spawn: test: Perf tests part 1. Basis for multiprocess tests process orchestration. (#922)
SamuelBellomo
added a commit
that referenced
this pull request
Jul 23, 2021
…nsform * develop: test: Perf tests part 3. Adding ExecuteStepInContext for better test readability (#924) test: Perf tests part 2. Adding Test Coordinator and base test class (#923) fix: (MLAPI.Serialization) 'specified cast is not valid.' on NetworkW… (#951) test: Perf tests part 1. Basis for multiprocess tests process orchestration. (#922) feat: network animator Trigger parameter support (#872)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is the basis for local multiprocess testing.
This allowed creating subsequent perf tests locally without having to worry about real device orchestration.
Plan is to extend this to integrate with CI with real devices afterward.
To test locally, this requires a manual step (menu to build local test player)
Currently writing confluence page on all this to document the flow.