Skip to content
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

Odfv profiling #23

Merged
merged 3 commits into from
Jun 8, 2024
Merged

Odfv profiling #23

merged 3 commits into from
Jun 8, 2024

Conversation

franciscojavierarceo
Copy link
Owner

@franciscojavierarceo franciscojavierarceo commented Jun 8, 2024

Profiling Feast's On Demand Feature Views in both Pandas and Python.

Steps to reproduce

python3 -m venv venv
source venv/bin/activate
pip install feast==0.38
pip install setuptools
pip install snakeviz
feast init 
cd newly-generated-folder # <- input your local folder name here
cd feature_repo
feast apply
python profile_odfv.py

Pandas

Screenshot 2024-06-07 at 9 44 47 PM

Python

Screenshot 2024-06-07 at 9 45 12 PM

Comparison

Local performance
Pandas runtime = 8.65ms
Python runtime = 0.907ms

Nearly 10x reduction in processing time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant