-
Notifications
You must be signed in to change notification settings - Fork 7
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
Performance testing app #361
Conversation
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.
One minor comment.
apps/cesium.omniverse.dev.kit
Outdated
@@ -17,6 +17,7 @@ app.useFabricSceneDelegate = true | |||
app.usdrt.scene_delegate.enableProxyCubes = false | |||
app.usdrt.scene_delegate.geometryStreaming.enabled = false | |||
app.fastShutdown = true | |||
app.viewport.grid.enabled = false |
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.
Could we not default this to off? It's easy enough to turn off manually and then it persists between sessions. I typically leave it on because it can be useful in some cases. By setting it off in this file, it turns it off every time for me.
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.
Sure, I removed this line
ION_ACCESS_TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyZTA0MDlmYi01Y2RhLTQ0MjQtYjBlOS1kMmZhMzQ0OWRkNGYiLCJpZCI6MjU5LCJpYXQiOjE2ODU2MzExMTF9.y2CrqatkaHKHcj6NIDJ8ioll-tnOi-2CblnzI6iUays" # noqa: E501 | ||
GOOGLE_3D_TILES_URL = "https://tile.googleapis.com/v1/3dtiles/root.json?key=AIzaSyC2PMYr_ZaMJT5DdZ8WJNYMwB0lDyvx5q8" |
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.
Thought for later. We ought to set up a way to use environment variables for this sort of thing, rather than hard coding it in the code. Easier to rotate values when we need to do so.
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.
Yeah, that would be better. I don't like hardcoding it either. I'll have a follow up PR for that.
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.
lgtm
Fixes #261
Follow up to #347 that fills out the performance testing application.
The UI is split into three categories:
Tracing Enabled
option is there to remind you if you have tracing enabled. I would have preferred using a read-only checkbox but didn't see an option inomni.ui
.cesium.omniverse.TILESET_LOADED
event to fire). The "Tour" scenario loads a single tileset and jumps between different locations. You can clickStop
to stop the current scenario. This is useful for stopping tours early.Other notes:
cesium-omniverse-samples
and will need to be rotated monthly.Known issues:
computeLoadProgress
.Future work:
And a video of it in action. I accidentally took this video in Debug mode so it's a bit slow.
perf-testing.mp4