Open tonybaloney opened 2 years ago
Comparison of first patch https://github.com/Azure/azure-functions-python-worker/pull/1041/commits/699bbbcd013116a272ed46e40a4fb5a7b93c0eaf refactoring the build_binding_protos()
function with 0-9 bindings shows a consistent 10-15% reduction in execution time.
Profiles for loader.index_function_app()
are showing the function is relatively slow because:
Introduces a pytest extension "pytest-benchmark" and runs microbenchmarks of key functions within the worker process.
This PR will also include some optimizations.
Fork of #1039 - so that should be merged first