Skip to content

Commit

Permalink
Rename "GIL Contention" to just GIL in chart labels
Browse files Browse the repository at this point in the history
This matches "Event Loop" rather than "Event Loop Contention"
It also makes this look better in small space (which I think is
appropriate for this chart)
  • Loading branch information
mrocklin committed Oct 26, 2023
1 parent 7d0ba9c commit edf2175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions distributed/dashboard/components/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3847,9 +3847,9 @@ def __init__(self, scheduler, **kwargs):
self.data = dict(
names=[
("Scheduler", "Event Loop"),
("Scheduler", "GIL Contention"),
("Scheduler", "GIL"),
("Workers", "Event Loop"),
("Workers", "GIL Contention"),
("Workers", "GIL"),
],
values=[0, 0, 0, 0],
text=["0s", "0%", "0s", "0%"],
Expand Down Expand Up @@ -3880,7 +3880,7 @@ def __init__(self, scheduler, **kwargs):
fill_color=factor_cmap(
field_name="names",
palette=["#b8e0ce", "#81aae4"],
factors=["Event Loop", "GIL Contention"],
factors=["Event Loop", "GIL"],
start=1,
end=2,
),
Expand Down

0 comments on commit edf2175

Please sign in to comment.