Comparing speeds of different tasks in different languages -


If I want to test the speed of completing some tasks, will I have the test of which language Tested in? We can consider that any programmer working with anybody wants to perform. Sorting, or more complex jobs include signals and verification of files such as signals.

Keeping in mind that we all know that certain languages ​​will run faster than others, this means that working languages ​​will rely on languages ​​and the way their compiler / runtime is optimized but they Clearly all will be different.

It is best to rely on such language, which is less dependent on abstract such as, or to test jobs and functions in higher level languages, and rely on the fact that they Are not also adequately applicable to worry about potential inefficiency? I hope my question is clear.

It does not matter which real world language you use test ... You design the tests correctly, there is always an upper part of the language but depending on the current temperature, there is always an overhead of the operating system of the power, the thread scheduler, the IO, RAM or the speed.

But whatever you don 't want to measure, how many nanoseconds you took to make an assignment, instead you would want to assess how many hours of assignment statements were done in billions of jobs. So all the above mentioned overheads are negligible

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -