I create few methods using in one application, and when I test performance on this methods with visual studio profiler I see the CPU used around 18% and is finish work around 0.04 second.
My question is if in another not so faster computer is used (for example) 30-40% of CPU power, do is have the same time with previous CPU who is used 18% of his power. I'm sorry for my bad English.
CPU% is meaningless regarding performance, because when your program is executing it uses 100% of the CPU, and when it is waiting it uses 0%. The displayed CPU% is just an average.
The only thing it might tell you is if your program is more or less I/O-bound.
Sure, the program will run faster or slower on a faster or slower CPU, unless it is I/O-bound. If you are concerned about the speed of the software, you could do what a lot of people do, and that is eliminate all waste in the software itself.