CLI tool to capture basic system performance snapshot? (for historical report)

In trying to decide when is the right time to buy a new computer vs how long you’ve had it, I would love to capture minimal historical information about its performance. I could end up with a report such as this:

my-lenovo 2019-01-01: response time: 0.01s
my-lenovo 2020-01-01: response time: 0.01s
my-lenovo 2021-01-01: response time: 0.02s
my-lenovo 2022-01-01: response time: 0.09s
my-lenovo 2023-01-01: response time: 0.13s
my-lenovo 2024-01-01: response time: 0.84s <<<<< time to get a new laptop!
my-hp 2024-01-01:     response time: 0.01s
my-hp 2025-01-01:     response time: 0.02s

What CLI tool could provide me with this minimal info that I can accumulate over time? (Mac OS would be best – this is to track and justify my spending on new Macbooks which at times makes me feel reckless with my money)

  • response time would be one of the lines of this hypothetical tool, equivalent to something that might get displayed in an activity monitor / task manager UI.