Comment by jkrems

11 years ago

With a lot of files app startup can be delayed and the event loop be blocked. Which messes with timeouts among other things. The problem is that each file is loaded from disk and parsed in series without any level of parallelism (no real way around that in a pre-ES6 world). With CoffeeScript you put the time it takes to compile to JavaScript on top of that. If you have a big app with a lot of CoffeeScript files, it might be worth trying to compile them ahead-of-time instead. Though your mileage may vary in how much it changes.

I don't see that being an issue for the vast majority of Node.js programs, i.e. long-running servers.

  • As I said: there's no guarantee it affects you. But messing with timeouts during startup (where stuff might be failing and prevent server processes from recovering correctly) can be an issue. Even when the process is long-running in general. If that issue affects your particular program is a different question.

  • define "issue".

    will it impede functionality? probably not. will it add precious time to server process start time? definitely, especially if the problem gets compounded.