deckhand/deckhand/tests/unit/engine
Felipe Monteiro 18ae85a229 optimization: Skip post-validation for rendered document cache hit
This patch set adds logic to optimize performance around rendered
documents caching further by implementing logic to skip over
post-rendering validation when cache hits occur. This works because:

* if the result set isn't cached, then post-validation is performed;
  if the post-validation fails the just-cached result set is
  invalidated
* if the result set is cached, then post-validation for that
  result set has already been performed successfully, so it
  can be safely skipped over

It was discovered via profiler anaylsis that document validation
accounts for an appreciable amount of run time, so optimizing
around this makes a noticeable difference.

Change-Id: I18344ea750cf1028a377028f80ecdd931d9672c0
2018-10-02 18:58:07 -05:00
..
__init__.py Initial engine framework 2017-07-17 20:46:49 +01:00
base.py Improve document validation module. 2018-01-15 16:51:52 -05:00
test_cache.py optimization: Skip post-validation for rendered document cache hit 2018-10-02 18:58:07 -05:00
test_document_layering.py Merge "integration tests: Add Barbican validation/assertions" 2018-08-02 18:23:03 +00:00
test_document_layering_and_replacement.py Simplify schema validation 2018-07-03 02:07:33 +00:00
test_document_layering_and_replacement_negative.py style(pep8): remove identation ignores 2018-06-01 22:08:42 +00:00
test_document_layering_and_substitution.py [fix] Substitution source documents accidentally modified 2018-09-04 21:58:45 +01:00
test_document_layering_and_substitution_negative.py integration tests: Add Barbican validation/assertions 2018-07-22 16:32:57 +00:00
test_document_layering_negative.py refactor: Use yaml.add_representer to reduce complexity 2018-07-10 19:23:52 +01:00
test_document_validation.py Simplify schema validation 2018-07-03 02:07:33 +00:00
test_document_validation_negative.py Simplify schema validation 2018-07-03 02:07:33 +00:00
test_revision_deepdiffing.py Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
test_revision_diffing.py Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
test_secrets_manager.py integration tests: Add Barbican validation/assertions 2018-07-22 16:32:57 +00:00