How does work Lua interprerer for HTML5?

I made game object “system”, and added the script, where in “update” function the gabarge collector forcely collects everything and stop itself after it (every frame). Performance became absolutly smooth! Thanx!
I didn’t ubderstand before that every function with arguments makes garbage table. But real-time games needs “go.set_position()”, “go.set_rotation()” every frame. So, I guess it is better, to collect in every frame explicitly.