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

Update GET /project/{project_id}/status/images/ #2396

Open
wants to merge 12 commits into
base: dev-2.14
Choose a base branch
from

Conversation

ychiucco
Copy link
Collaborator

closes #2395

Checklist before merging

  • I added an appropriate entry to CHANGELOG.md
  • I added logging to new code - if appropriate.
  • I merged main into the current branch.

Copy link

github-actions bot commented Mar 25, 2025

Benchmark comparison

GET /api/alive/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 0.8 0.8 1.00 0.0 0.0
power 0.8 0.8 1.00 0.0 0.0
dataset 0.8 0.8 1.00 0.0 0.0
project 0.8 0.8 1.00 0.0 0.0
job 0.8 0.8 1.00 0.0 0.0

GET /api/v2/dataset/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 10.1 9.2 1.10 0.2 0.6
power 214.7 234.8 0.91 89.5 345.4
dataset 70.1 83.5 0.84 4.6 123.2
project 20.0 20.5 0.98 5.8 43.9
job 9.5 10.4 0.91 0.2 29.7

GET /api/v2/job/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.5 6.2 1.05 2.1 2.2
power 49.6 46.9 1.06 641.0 656.2
dataset 50.1 50.7 0.99 866.4 909.2
project 21.8 20.1 1.08 271.7 285.0
job 15.4 14.9 1.03 215.2 225.9

GET /api/v2/project/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 7.2 7.0 1.03 0.1 0.1
power 7.8 6.7 1.16 0.1 0.1
dataset 7.2 6.8 1.06 0.1 0.1
project 8.2 7.9 1.04 2.3 2.3
job 7.3 7.3 1.00 0.1 0.1

GET /api/v2/task/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.0 5.9 1.02 0.8 0.8
power 5.9 5.8 1.02 0.8 0.8
dataset 5.4 5.7 0.95 0.8 0.8
project 5.3 5.7 0.93 0.8 0.8
job 5.3 5.4 0.98 0.8 0.8

GET /api/v2/task-group/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.4 6.3 1.02 1.6 1.6
power 6.1 6.2 0.98 1.6 1.6
dataset 6.2 6.7 0.93 1.6 1.6
project 6.3 6.1 1.03 1.6 1.6
job 6.1 6.1 1.00 1.6 1.6

GET /api/v2/workflow/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 10.4 10.4 1.00 0.8 0.8
power 14.4 13.8 1.04 28.0 28.0
dataset 12.8 12.4 1.03 16.2 16.2
project 14.6 16.6 0.88 20.4 20.4
job 10.2 10.9 0.94 0.8 0.8

POST /api/v2/project/3/dataset/405/images/query/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 35.8 37.8 0.95 275.1 275.1

GET /auth/current-user/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 4.8 4.5 1.07 0.2 0.2
power 4.9 4.3 1.14 0.2 0.2
dataset 4.6 4.6 1.00 0.2 0.2
project 4.4 4.7 0.94 0.2 0.2
job 4.2 4.7 0.89 0.1 0.1

POST /auth/token/login/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 274.0 273.1 1.00 0.2 0.2

Copy link

github-actions bot commented Mar 25, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  fractal_server/app/routes/api/v2
  history.py
  images.py
  fractal_server/app/schemas/v2
  __init__.py
  history.py
  fractal_server/images
  tools.py
Project Total  

This report was generated by python-coverage-comment-action

@tcompa tcompa marked this pull request as ready for review March 31, 2025 12:33
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.

2 participants