Let's say I have 2 pieces of assembly code that do exactly the same thing. So is there any program out there that can benchmark and compare the two chunks of code, size- and speed-wise?
Name:
Anonymous2007-01-28 14:04
here's a bash script
du -sh prog1 prog2
time ./prog1
time ./prog2