Hi, I've seen cases where people benchmark their programs, for example at the bottom of this page the author highlights the effect of copying strings in different ways and the effect on execution speed.
HowStuffWorks "How C Programming Works"
Does anyone know of any software to benchmark your programs, i don't plan on making any unnecessary confusing compact code, but I'd just like to see how different things effect speed. Hoping to find something that's f/oss and will run on the command line. Thanks.