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
Currently loading a benchmark without profile data present and checking for it raises, which could well be a user warning instead.
File~/Git/Github/asvWork/asv/asv/results.py:564, inResults.get_profile(self, benchmark_name)
549""" 550 Get the profile data for the given benchmark name. 551 (...) 561 562 """563profile_data=self._profiles[benchmark_name]
-->564profile_data=profile_data.encode('ascii')
565profile_bytes=zlib.decompress(base64.b64decode(profile_data))
566returnprofile_bytesAttributeError: 'NoneType'objecthasnoattribute'encode'In [64]: b1.get_profile('benchmarks.TimeSuite.time_add_arr')
Doesn't really matter but still, a better error / warning would be nicer.
The text was updated successfully, but these errors were encountered:
Currently loading a benchmark without profile data present and checking for it raises, which could well be a user warning instead.
Doesn't really matter but still, a better error / warning would be nicer.
The text was updated successfully, but these errors were encountered: