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
Name:
Anonymous2007-01-29 14:37
>>1
get the specs of your CPU and time the stuff yourself by adding the cost of every instruction in the algorithm.
Name:
Anonymous2007-01-29 15:32
I suggest >>2's with millions of iterations, tested in a computer with normal loads. >>3 just got too hard to do, and there's a lot to consider. Pipelines, OoO, cache, multitasking and several sets of registers make it hard.
The box at the OP wanted to say fuck you need a RDBMS backend for something only kind of target audience You dont need all the power of the code indentation?