Azure / Azure/azure-functions-host

Functions run very slow when importing libraries [lang-Python]

Open
#1,626 9 comments 0 reactions 0 assignees View on GitHub
blocked
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

imports of libraries such as numpy and pandas cause function to be very slow (20-30 seconds)

#### Repro steps

import pandas

#### Related information
python

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with the listed `import pandas` step and measure the stated 20–30 second delay. Then locate the Azure Functions host entry point that handles Python function startup and determine the expected import-time behavior; the issue names no file, test, or acceptance criterion, so confirm scope before changing code.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, pandas, python
Domain
backend, cloud, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.