+ 20
Between JavaScript and an ASP script, which is faster?
3 Réponses
+ 15
JavaScript is faster. JavaScript is a client-side language and thus it does not need the assistance of the web server to execute. On the other hand, ASP is a server-side language and hence is always slower than JavaScript.
+ 2
javascript is faster simply by being a client-side language and doesn’t have to make server requests and other stuff, but that being said, asp.net is a pretty fast server so when comparing server languages, asp is one that’s a good choice
+ 1
Yes, javascript is faster than ASP script.Since java scripting is written for client-side machines / browsers, it does not need the web server's support for execution.Hence it is always faster than ASP scripting. Only the computation is done on the server side.ASP is a server side language so it does needs the assistance of the web server which is a time consuming process.PHP, ASP etc. are all server side scripting languages that is why they are slower than the ASP script.