mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
[docs] rewrite (#5175)
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
Profiling for Ray Users
|
||||
=======================
|
||||
|
||||
This document is intended for users of Ray who want to know how to evaluate
|
||||
the performance of their code while running on Ray. Profiling the
|
||||
performance of your code can be very helpful to determine performance
|
||||
bottlenecks or to find out where your code may not be parallelized properly.
|
||||
If you are interested in pinpointing why your Ray application may not be
|
||||
achieving the expected speedup, read on!
|
||||
How-to: Profile Ray Programs
|
||||
============================
|
||||
|
||||
Profiling the performance of your code can be very helpful to determine
|
||||
performance bottlenecks or to find out where your code may not be parallelized
|
||||
properly.
|
||||
|
||||
Visualizing Tasks in the Ray Timeline
|
||||
-------------------------------------
|
||||
|
||||
The most important tool is the timeline visualization tool. To visualize tasks
|
||||
in the Ray timeline, you can dump the timeline as a JSON file using the
|
||||
following command.
|
||||
in the Ray timeline, you can dump the timeline as a JSON file by running ``ray
|
||||
timeline`` from the command line or by using the following command.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user