7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-19 22:02:21 +00:00
tutor/tests
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
..
__init__.py Add unit tests! yay! 2019-03-23 16:16:44 -07:00
openedx-lms-common-settings Better dev environment 2019-10-24 20:03:36 +02:00
test_config.py Improve job running in local and k8s 2020-04-25 23:12:42 +02:00
test_env.py v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00
test_images.py Fix images.get_tag unit test 2020-07-21 09:28:44 +02:00
test_plugins.py Make tutor considerably faster 2020-10-15 16:28:55 +02:00
test_serialize.py Fix incorrectly parsed empty strings in config save --set ...=... 2020-01-21 18:32:34 +01:00
test_utils.py Add encrypt template filter 2020-04-04 18:22:15 +02:00