Open ondohotola opened 3 years ago
That sounds like a useful feature request, thank you!
I actually implemented a cross-platform library recently that can collect information like this (https://github.com/sharkdp/bugreport). It's designed for bug reports but it could probably be split into two libraries: one for collecting the information and the other for providing the "bugreport"-functionality.
David,
great to hear that this request is helpful.
el
Hi,
I am using hyperfine to compare a latex run on different machines. I can easily grab all the result files and pull the data out into one, but that information does not contain stuff like "date", "machine" type, and "processor", stuff I can easily grab at runtime with commands like
system_profiler SPHardwareDataType|awk -F': ' '$1 ~ /Model Identifier/ {print $2}'
which gives MacBookPro16,2 (posing additional issues with CSV :-)-O) anduname -a | awk '{print $NF}'
which gives 'x86_64' or 'arm64'uname -a | awk '{print $3}'
which gives 21.1.0and of course
date +%F
If someone has an idea how to achieve this within a Makefile for the CSV type it would also be helpful, but since this might be helpful to others perhaps this should then also work in JSON and the other formats (if possible).
thanks in advance, el