One, or multiple? | Script Performance

Good day Developers!

Let’s talk about performance. I’ve been wondering something lately regarding performance and that is:

Is it more performance friendly to handle all code in 1 script (server 1 script and client 1 script) or just multiple scripts like most of you do?

To my theory 1 script would be (more) performance friendly but you would get a lot of argument checking… but to the factual side; I have no clue.

Thanks!

2 Likes

Honestly the difference between them from a performance perspective is going to be negligible.

Using multiple scripts vs just one is more for organizing your code than performance benefits. You should just do whatever leads to the best code organization.

3 Likes