On 09/04/2024 2:42, Matan Addam wrote:

Hello,

I find the information printed by the above mentioned functions to be useful 
for understanding performance context on installed machines, as well as 
variability across machines when troubleshooting. How would the maintainers 
view a pull request adding to those functions the option of directing their 
output to a file?

These functions, at least as built on my machine using numpy 1.24.4, using 
python's print and pprint for their outputs, both of which functions allowing 
arguments for redirecting their output to a file. Adding this option may enable 
recording the information to files without redirecting all of stdout.

What would your position be?

Or are they actually a facade built upon installation by dynamically generated 
code, which yields different function implementations on different platforms?

It could be otherwise nice to provide access to a dict of the data for the more 
general purpose, which would enable all desiderata of interest leveraging this 
information.

Kind regards,
Matan


Makes sense to me to output a json-formatted file

Matti

_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to