Question: In javascript, is there a speed advantage between the multiplication operator and the division operator? As an example...

```
var foo = bar * 0.01;
var foo = bar / 100;

```

foo is the same for both, but which statement returns the value of foo the fastest? I know this may be an incredibly small difference, however, when loop processing large amounts of data it could make a bigger difference than realized, which would then make a difference in how I construct equations to facilitate the processing.

Answer: 
I would say, it depends on the implementation. I would just make an own test somehow or try to google it.

For most machines, multiplications is faster, but the raw CPU speed is not decisive when it comes to scripting languages. Even when the implementation is the same, the execution time for one or the other will not differ so much, since the overhead of scripting languages is normally much bigger.

Normally the difference between different operations is so small, that it is not worth it to think about it. When you must, you probably are using the wrong language, anyhow.
In computer systems, the only basic operators are + (adders) and (\*) multipliers. You either add (negative or positive) numbers or rotate numbers (either left or right for multiplication and division respectively). You should be able to work it out whether multiplication or division takes longer...

\*btw...unless I am wrong, your question has nothing to do with javascript. Javascript is an interpreted language with engines such as spidermonkey or rhino....

FYI You should read [this](https://blog.mozilla.org/javascript/2013/11/07/efficient-float32-arithmetic-in-javascript/) - directly from the main people....to have better insight of "what" might be happening.