mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +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
@@ -62,7 +62,5 @@ sharedPlugins/scenario_loader/scenarios
|
||||
# File used for marking plugins as disabled
|
||||
sharedPlugins/*/DISABLED
|
||||
|
||||
\.cache-require-paths\.json
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
@@ -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));
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
"bcrypt-promise": "^2.0.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"body-parser": "^1.18.2",
|
||||
"cache-require-paths": "^0.3.0",
|
||||
"cli": "^1.0.1",
|
||||
"cli-interact": "^0.1.9",
|
||||
"codecov": "^3.0.1",
|
||||
|
||||
Reference in new issue
Block a user