mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Remove pointless micro-optimization
This saved 30ms of the startup on my machine. Even if it saved a second it's still pretty pointless as we're not depending on the master server startup being super fast.
This commit is contained in:
1 parent
200c8dbdeb
commit
ca0281ae58
3 files changed
-7
No files matched your search
@@ -26,10 +26,6 @@ process.on('unhandledRejection', r => console.log(r));
|
||||
// configgy stuff
|
||||
debug = false;
|
||||
|
||||
// reduces loadtime from 1700 ms to 1200 ms on my i3 + SSD
|
||||
// tested by logging Date.now() here and when the webserver started listening
|
||||
require('cache-require-paths');
|
||||
|
||||
// argument parsing
|
||||
const args = require('minimist')(process.argv.slice(2));
|
||||
|
||||
|
||||
Reference in new issue
Block a user