瀏覽代碼

Update profiling.md

Björn Ritzl 3 年之前
父節點
當前提交
65aa419e5a
共有 1 個文件被更改,包括 9 次插入6 次删除
  1. 9 6
      docs/en/manuals/profiling.md

+ 9 - 6
docs/en/manuals/profiling.md

@@ -32,17 +32,15 @@ profiler.view_recorded_frame()
 Refer to a the [profiler API reference](/ref/stable/profiler/) for more information about the profiler functions.
 Refer to a the [profiler API reference](/ref/stable/profiler/) for more information about the profiler functions.
 
 
 ## The web profiler
 ## The web profiler
+While running a debug build of the game, an interactive web-based profiler can be accessed through a browser.
 
 
-While running a debug build of the game, an interactive web-based profiler can be accessed through a browser. It allows you to sample your game while it is running and analyze individual frames in detail.
-
-To access the profiler:
+### Frame profiler
+The Frame profiler allows you to sample your game while it is running and analyze individual frames in detail. To access the profiler:
 
 
 1. Start your game on your target device.
 1. Start your game on your target device.
 2. Select <kbd> Debug ▸ Open Web Profiler</kbd> menu.
 2. Select <kbd> Debug ▸ Open Web Profiler</kbd> menu.
 
 
-
-### CPU/Frame profiler
-The CPU profiler is divided into several sections that all give different views into the runing game. Press the Pause button in the top right corner to temporarily stop the profiler from updating the views.
+The frame profiler is divided into several sections that all give different views into the runing game. Press the Pause button in the top right corner to temporarily stop the profiler from updating the views.
 
 
 ![Web profiler](images/profiling/webprofiler_page.png)
 ![Web profiler](images/profiling/webprofiler_page.png)
 
 
@@ -75,6 +73,11 @@ Global Properties
 
 
 
 
 ### Resource profiler
 ### Resource profiler
+The Resource profiler allows you to inspect your game while it is running and analyze resource use in detail. To access the profiler:
+
+1. Start your game on your target device.
+2. Open a browser and browse to http://localhost:8002
+
 The resource profiler is divided into 2 sections, one showing a hierarchical view of the collections, game objects and components currently instantiated in your game, and the other showing all currently loaded resources.
 The resource profiler is divided into 2 sections, one showing a hierarchical view of the collections, game objects and components currently instantiated in your game, and the other showing all currently loaded resources.
 
 
 ![Resource profiler](images/profiling/webprofiler_resources_page.png)
 ![Resource profiler](images/profiling/webprofiler_resources_page.png)