Speed up Octave startup by a factor of 50-100 by not autoloading packages.
sudo nano /usr/share/octave/*/m/startup/octaverc
comment out the line
# pkg ("load", "auto");
Verify GNU Octave speedup fix
in Octave type
if all packages are starred, that means you’re autoloading, which greatly slows down Octave startup.
Measure GNU Octave startup speedup
The factor of 100 improvement in GNU Octave speedup was estimated with the command
time octave --eval 'exit'
- Before fix: 4.904s
- After fix: 0.072s