#shell

Timing performance of functions in shell scripts

I recently started looking at some shell scripts that run fine on big fast powerful systems (i.e. x86 laptops/desktops), but quite slowly on small slow devices. Using time to run the script (or, the amazing hyperfine) works OK if you're timing the entire script execution, but what do you do if you want to time individual functions within the script?

·Clayton Craft
Timing performance of functions in shell scripts

Automatic backup of Garmin Edge on Linux

I purchased a Garmin Edge 130 last year to use for recording cycling trips, one of the main reasons for choosing this device was that it didn't require any special/proprietary software for accessing recorded activities or adding tracks. When the device is plugged into a computer via USB, it shows up as a mass storage device! Perfect!

·Clayton Craft
Automatic backup of Garmin Edge on Linux