Documentation/Labs/StartupTimeImprovement
From Slicer Wiki
Revision as of 21:15, 6 January 2014 by JChris.FillionR (talk | contribs)
Home < Documentation < Labs < StartupTimeImprovement
Current performance
These data are collected after Slicer has been started at least once on the workstation.
- Default options
$ time ./Slicer --python-code "slicer.app.quit()" Number of loaded modules: 135 real 0m21.097s user 0m19.070s sys 0m1.570s
- Disable CLI modules
$ time ./Slicer --disable-builtin-cli-modules --python-code "slicer.app.quit()" Number of loaded modules: 65 real 0m12.693s user 0m11.412s sys 0m0.727s
- Disable Loadable modules
$ time ./Slicer --disable-builtin-loadable-modules --python-code "slicer.app.quit()" Number of loaded modules: 111 real 0m18.483s user 0m16.720s sys 0m1.149s
- Disable Scripted modules
$ time ./Slicer --disable-scripted-loadable-modules --python-code "slicer.app.quit()" Number of loaded modules: 93
real 0m14.348s user 0m12.449s sys 0m1.385s
- Default options disabling python - Patch: Call this->quit() at the end of qSlicerApplication::handleCommandLineArguments()
$ time ./Slicer --disable-python Number of loaded modules: 93 real 0m12.596s user 0m11.166s sys 0m0.935s