-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add instructions for profiling with Superluminal #11496
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,6 +18,7 @@ Recommended profilers | |||||
| - `VerySleepy <http://www.codersnotes.com/sleepy/>`__ (Windows only) | ||||||
| - `HotSpot <https://github.com/KDAB/hotspot>`__ (Linux only) | ||||||
| - `Xcode Instruments <https://developer.apple.com/xcode/>`__ (macOS only) | ||||||
| - `Superluminal <https://superluminal.eu/>`__ (Windows, Xbox, and PlayStation) | ||||||
|
|
||||||
| These profilers may not be the most powerful or flexible options, but their | ||||||
| standalone operation and limited feature set tends to make them easier to use. | ||||||
|
|
@@ -159,3 +160,38 @@ Xcode Instruments | |||||
| - You can use the timeline at the top of the window to display details for the specific time period. | ||||||
|
|
||||||
| .. image:: img/cpp_profiler_time_profiler_result.png | ||||||
|
|
||||||
| Superluminal | ||||||
| ~~~~~~~~~~~~ | ||||||
|
|
||||||
| Superluminal is a commercial profiler with many features and a special focus on game development. | ||||||
| It has support for profiling on Windows, Xbox One® and Xbox Series X®, PlayStation® 4 and PlayStation® 5. | ||||||
|
Member
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.
Suggested change
We don't use the trademark symbol elsewhere and it doesn't make much sense to use it here I'd say
Member
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. Additionally, since Godot itself does not officially support consoles, it may not be worth listing console platforms here.
Member
Author
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. Okay. Maybe I can add "some console platforms" for completeness? I think it's relevant even if consoles are not officially supported, because you can (in some ways) port for consoles. |
||||||
|
|
||||||
| While it does not have a free version, it has more advanced features that aren't available in the open source profilers. | ||||||
|
|
||||||
| Here are the steps to use it: | ||||||
|
|
||||||
| - Open Superluminal. Set the **Application** field to the Godot executable path. | ||||||
| Set the **Working Directory** to the project path. | ||||||
|
|
||||||
| - Set the **Commandline Arguments** field based on your needs. Use ``--editor`` if you want to profile | ||||||
| the editor, for instance. You can leave it empty for profiling a running project. | ||||||
|
|
||||||
| .. image:: img/cpp_profiler_superluminal_setup_session.webp | ||||||
|
|
||||||
| - If needed, you can adjust the **Capture Options**. The defaults are usually fine. | ||||||
| You can use this to enable child process profiling, which allows for profiling the editor | ||||||
| and running the game from it on the same session. | ||||||
|
|
||||||
| - Click on the **Run** button to start profiling. The software will ask for elevated privileges | ||||||
| which are necessary to capture the information. | ||||||
|
|
||||||
| - Perform the actions you need to profile on the running process. | ||||||
|
|
||||||
| - Once done, you can close the executable, or click on the **Start Analyzing** button (which will | ||||||
| kill the executable process). | ||||||
|
|
||||||
| .. image:: img/cpp_profiler_superluminal_graph.webp | ||||||
|
|
||||||
| - The results will be shown on screen. For more information on how to use this, see the | ||||||
| `Superluminal documentation <https://www.superluminal.eu/docs/documentation.html#navigating_ui>`__. | ||||||
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.
I'm not sure we should list this under "recommended profilers" as it isn't free
Uh oh!
There was an error while loading. Please reload this page.
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.
I think it's fine to keep in the same list for conciseness' sake, but I would add a mention that it's paid: