diff options
author | Björn Gustavsson <[email protected]> | 2015-04-28 10:21:02 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-06 10:19:23 +0200 |
commit | 20a72ca2d491d6efa720828becb783c20e4508b5 (patch) | |
tree | 4824fb0b217888b66ec70f7d317420eb5503a718 /lib/megaco/test | |
parent | 7309ff4c3832588cc15565ff264db2a120e6092e (diff) | |
download | otp-20a72ca2d491d6efa720828becb783c20e4508b5.tar.gz otp-20a72ca2d491d6efa720828becb783c20e4508b5.tar.bz2 otp-20a72ca2d491d6efa720828becb783c20e4508b5.zip |
kernel application: Start code server first
When the code server has started, it will read the .beam files
for all loaded modules to see whether they contain native code
that should be loaded. To make that as fast as possible when
we have no native code, start the code server as early as possible
to minimize the number .beam files that must be read from disk.
The code server does not use the 'file' module, so it is OK to
start the code server before starting the file_server process.
On my computer, the time for checking the loaded modules for
native code is reduced from roughly 2 ms to 1.5 ms.
Diffstat (limited to 'lib/megaco/test')
0 files changed, 0 insertions, 0 deletions