Replying to @hasen_95dxthat being said, if you're not working in a performance critical area, the V8 engine in JavaScript is miraculously fast
CPUs are incredibly fast now and many programs don't need hand optimization at all
As long as you can respond within 200 ms people don't notice