julien040/gut

Performance on Linux - Profile loaded every time

Closed this issue · 0 comments

On every commands, the init() function in profile package is called.
On Linux, it runs a bunch of checks (GUI available, pass is installed, etc.).
But these check aren't required on every commands (gut status for instance).

Solution

The init function must only be called when needed (a profile is required).