7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-19 22:02:21 +00:00
tutor/tutor
Régis Behmo facc0b84e1 Make tutor considerably faster
Tutor was making many calls to iter_installed (~100 on my machine with a
dozen installed plugins). Turns out it's useless to cache Plugin and
Renderer instances, as the config keeps changing all the time. Instead,
we cache the list of installed plugins, which does not change in the
course of a single run.

On my machine this speeds up `tutor config save` by 5x, going from 7.5s
to 1.3s.
2020-10-15 16:28:55 +02:00
..
commands Fix undefined variable and pylint warnings 2020-10-02 13:02:10 +02:00
templates Make it easier to override mongodb connection parameters 2020-10-15 14:35:41 +02:00
__about__.py v10.3.0 (2020-10-13) 2020-10-13 14:57:05 +02:00
__init__.py Tutor v3 complete rewrite 2019-02-09 20:30:01 +01:00
config.py Remove "set" config entries on disabling plugin 2020-09-18 13:21:15 +02:00
env.py Make tutor considerably faster 2020-10-15 16:28:55 +02:00
exceptions.py Tutor v3 complete rewrite 2019-02-09 20:30:01 +01:00
fmt.py env.py refactoring 2020-01-16 15:07:35 +01:00
images.py Add support for images build --add-host 2020-09-04 12:35:44 +02:00
interactive.py Memorize whether the user is running a production platform 2020-08-19 07:54:28 +02:00
plugins.py Make tutor considerably faster 2020-10-15 16:28:55 +02:00
scripts.py Fix undefined settings in k8s scripts 2020-06-23 19:11:35 +02:00
serialize.py Improve job running in local and k8s 2020-04-25 23:12:42 +02:00
utils.py v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00