You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classDatasetBenchmark:
"""Class used as a template for benchmarks requiring a ``UxDataset`` in this module across both resolutions."""param_names= ['resolution',]
params= [['480km', '120km'],]
defsetup(self, resolution, *args, **kwargs):
self.uxds=ux.open_dataset(file_path_dict[resolution][0], file_path_dict[resolution][1])
defteardown(self, resolution, *args, **kwargs):
delself.uxdsclassGradient(DatasetBenchmark):
deftime_gradient(self, resolution):
self.uxds[data_var].gradient()
I want to profile this benchmark for a single parameter, for example for resolution='480km'. I haven't been able to find the correct way to do this in the documentation or online. Any suggestions
I have an ASV benchmark defined as follows:
I want to profile this benchmark for a single parameter, for example for
resolution='480km'
. I haven't been able to find the correct way to do this in the documentation or online. Any suggestionsUXARRAY/uxarray-asv#2
The text was updated successfully, but these errors were encountered: