Files
node/src
Ben Noordhuis 1bbf8d0720 lib: speed up require(), phase 2
Replace calls to fs.readFileSync() with an internal variant that does
not create Error objects on failure and is a bit speedier in general.

A secondary benefit is that it improves start-up times in the debugger
because it no longer emits thousands of exception debug events.

On a medium-sized application[0], this commit and its predecessor reduce
start-up times from about 1.5s to 0.5s and reduce the number of start-up
exceptions from ~6100 to 32, half of them internal to the application.

[0] https://github.com/strongloop/loopback-sample-app

PR-URL: https://github.com/nodejs/io.js/pull/1801
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-05-27 21:21:24 +02:00
..
2015-03-06 11:01:58 -05:00
2015-05-27 21:21:24 +02:00
2015-05-24 12:10:22 +10:00
2012-02-03 14:07:32 +00:00
2015-02-02 21:55:56 +01:00
2015-02-22 22:31:57 +03:00
2015-03-05 10:01:15 -05:00
2015-02-11 23:06:29 +01:00
2015-04-30 01:05:32 +02:00
2015-03-05 20:44:19 +01:00