-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speedup startup and toolbox operations #3909
Commits on May 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 41cbe24 - Browse repository at this point
Copy the full SHA 41cbe24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1cae4 - Browse repository at this point
Copy the full SHA 4d1cae4View commit details -
Add a short-lived (1s) ToolShedRepositoryCache
This will speed up repeated ToolShedRepositories lookups, like when building the Toolbox for the first time, or when loading a shed_tool_conf.xml file with many deactivated tools.
Configuration menu - View commit details
-
Copy full SHA for c06b4c9 - Browse repository at this point
Copy the full SHA c06b4c9View commit details -
Speed up tool-data table reloads by doing a os.walk and caching the r…
…esult for 1s instead of repeatedly calling os.path.exists.
Configuration menu - View commit details
-
Copy full SHA for 43c9c28 - Browse repository at this point
Copy the full SHA 43c9c28View commit details -
Only index changed tools when re-indexing the toolbox
This speeds up repeated toolbox reloads enourmously (from 1 second on my test-instance to 0.1 seconds).
Configuration menu - View commit details
-
Copy full SHA for 34ed9b4 - Browse repository at this point
Copy the full SHA 34ed9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6429bf - Browse repository at this point
Copy the full SHA c6429bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96cb874 - Browse repository at this point
Copy the full SHA 96cb874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2906f0c - Browse repository at this point
Copy the full SHA 2906f0cView commit details -
Move tool_cache.reset_status() calls to reload toolbox/data managers,…
… so that we can use information about whether tools are new during reloads
Configuration menu - View commit details
-
Copy full SHA for 6c22726 - Browse repository at this point
Copy the full SHA 6c22726View commit details -
Configuration menu - View commit details
-
Copy full SHA for 431a482 - Browse repository at this point
Copy the full SHA 431a482View commit details -
Remove
replace_existing
option for data managersIf a data manager is defined twice for the same data manager id in the shed_tool_conf.xml the first data manager will be loaded. This is not a problem when updating a data manager through the toolshed, because the outdated data manager will be removed from the tool cache and a new toolbox is being built.
Configuration menu - View commit details
-
Copy full SHA for ea9ecdf - Browse repository at this point
Copy the full SHA ea9ecdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for db910f4 - Browse repository at this point
Copy the full SHA db910f4View commit details -
Reduce logging during toolbox reloads
We don't log loading of tools that have not changed when reloading the toolbox.
Configuration menu - View commit details
-
Copy full SHA for 9aa5556 - Browse repository at this point
Copy the full SHA 9aa5556View commit details -
Configuration menu - View commit details
-
Copy full SHA for 475b886 - Browse repository at this point
Copy the full SHA 475b886View commit details -
Configuration menu - View commit details
-
Copy full SHA for beae93b - Browse repository at this point
Copy the full SHA beae93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a83ef0b - Browse repository at this point
Copy the full SHA a83ef0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff2a78 - Browse repository at this point
Copy the full SHA 3ff2a78View commit details -
Configuration menu - View commit details
-
Copy full SHA for c905c42 - Browse repository at this point
Copy the full SHA c905c42View commit details -
Configuration menu - View commit details
-
Copy full SHA for b72994f - Browse repository at this point
Copy the full SHA b72994fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c1559 - Browse repository at this point
Copy the full SHA 84c1559View commit details -
Use generator instead of list comprehenesion followed converting it t…
…o a set. (Thanks @nsoranzo)
Configuration menu - View commit details
-
Copy full SHA for 0504dcd - Browse repository at this point
Copy the full SHA 0504dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbed78f - Browse repository at this point
Copy the full SHA cbed78fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dd49c9 - Browse repository at this point
Copy the full SHA 4dd49c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc16175 - Browse repository at this point
Copy the full SHA dc16175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c44338 - Browse repository at this point
Copy the full SHA 4c44338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5069815 - Browse repository at this point
Copy the full SHA 5069815View commit details -
Avoid having tools in tool_cache marked as new when they have rapidly…
… shifted from new to expired.
Configuration menu - View commit details
-
Copy full SHA for d15813c - Browse repository at this point
Copy the full SHA d15813cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 586f494 - Browse repository at this point
Copy the full SHA 586f494View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d6bc1d - Browse repository at this point
Copy the full SHA 3d6bc1dView commit details -
Reference old_toolbox earlier, since reloading can happen in a differ…
…ent thread, which will lead to a hang when waiting for another toolbox reload
Configuration menu - View commit details
-
Copy full SHA for 07da123 - Browse repository at this point
Copy the full SHA 07da123View commit details -
Always refresh tool_shed_repository_cache before fetching repositorie…
…s by ids (since that is only called from admin_toolshed.py and installed_repository_metadata_manager.py)
Configuration menu - View commit details
-
Copy full SHA for 677d986 - Browse repository at this point
Copy the full SHA 677d986View commit details -
Configuration menu - View commit details
-
Copy full SHA for f940c79 - Browse repository at this point
Copy the full SHA f940c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f57f2 - Browse repository at this point
Copy the full SHA 89f57f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 456d1b4 - Browse repository at this point
Copy the full SHA 456d1b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8411b02 - Browse repository at this point
Copy the full SHA 8411b02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15e2c9b - Browse repository at this point
Copy the full SHA 15e2c9bView commit details -
Revert "Use cElementTree for light xml parsing speedup"
This reverts commit 556469f.
Configuration menu - View commit details
-
Copy full SHA for 7e61f8c - Browse repository at this point
Copy the full SHA 7e61f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 141f152 - Browse repository at this point
Copy the full SHA 141f152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73c7c36 - Browse repository at this point
Copy the full SHA 73c7c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 869d7bf - Browse repository at this point
Copy the full SHA 869d7bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3079d0c - Browse repository at this point
Copy the full SHA 3079d0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f88304b - Browse repository at this point
Copy the full SHA f88304bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7da2c - Browse repository at this point
Copy the full SHA 5e7da2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a26896 - Browse repository at this point
Copy the full SHA 5a26896View commit details -
Configuration menu - View commit details
-
Copy full SHA for f199d5b - Browse repository at this point
Copy the full SHA f199d5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4e4f3c - Browse repository at this point
Copy the full SHA b4e4f3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff1b66a - Browse repository at this point
Copy the full SHA ff1b66aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84351de - Browse repository at this point
Copy the full SHA 84351deView commit details -
Configuration menu - View commit details
-
Copy full SHA for b666649 - Browse repository at this point
Copy the full SHA b666649View commit details -
Skip time-based reloading, rely on detecting DetachedInstanceErrors t…
…o trigger cache rebuild
Configuration menu - View commit details
-
Copy full SHA for 86684df - Browse repository at this point
Copy the full SHA 86684dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdad5be - Browse repository at this point
Copy the full SHA cdad5beView commit details -
Remove operations from custom_datatype_manager
Updating the upload file formats is handled when loading the datatype into the registry, and reloading the upload tool seems unnecessary and insufficient, since this would only affect the current web handler. In any case removed and added datatypes are immediately propagated to the upload tool.
Configuration menu - View commit details
-
Copy full SHA for 2587ab5 - Browse repository at this point
Copy the full SHA 2587ab5View commit details -
Build search index at startup, rebuild repository cache during toolbo…
…x or datamanager reload
Configuration menu - View commit details
-
Copy full SHA for af156a8 - Browse repository at this point
Copy the full SHA af156a8View commit details