@@ -234,14 +234,27 @@ def pandas_option_context(self):
234234 else :
235235 yield
236236
237- performance_log : Path | None = None
237+ performance_log : Path | bool | None = None
238238 """Log runtime performance to this file.
239239
240240 The runtime performance log shows the time taken to evaluate each
241241 expression in the specification files. It is useful for debugging
242242 performance issues with complex expressions.
243243
244- If set to None (the default), no performance logging will be done."""
244+ Giving a filename here will override the global performance logging
245+ setting, and will log performance to the specified file, unless the
246+ global performance logging setting is set to `False`, in which case
247+ no performance logging will be done for any component.
248+
249+ If set to `True`, performance logging will be activated, and the filename
250+ will be chosen based on the trace label for this component.
251+
252+ If this path is set to None (the default), performance logging will be
253+ activated based on the global performance logging setting, and the filename
254+ will be chosen based on the trace label for this component. This is strongly
255+ recommended for most use cases, unless the trace label causes the filename
256+ to be too long or otherwise unsuitable for the filesystem.
257+ """
245258
246259 def subcomponent_settings (self , subcomponent : str ) -> ComputeSettings :
247260 """Get the sharrow settings for a particular subcomponent."""
0 commit comments