It's not a question of code, it's a question of web server, JavaScript performance.
If I wrote the JavaScript code,
Assuming that my computer's poor performance is overloaded with function calls and slows it down a bit (for example, many recursive function calls),
Put it on a better performance web server now (e.g., cloud's high performance)
Q: If I run on that computer (the computer that was slow earlier), will it increase the speed...? OR computing has no speed impact at all because it returns to the JavaScript of the user's browser...??
If it doesn't speed up, is there a way to speed up using the resources of the web server that performed well only with JavaScript without creating a C code??
javascript browser webserver
If you're talking about pure JavaScript performance, no matter how good the server is, it doesn't get better. This is because it runs in your browser.
There are several workarounds, such as how to render some doms on the server side, such as React, but they essentially have performance limits that run in the browser.
© 2024 OneMinuteCode. All rights reserved.