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

Refine new task-type logics #2384

Merged
merged 2 commits into from
Mar 24, 2025
Merged

Refine new task-type logics #2384

merged 2 commits into from
Mar 24, 2025

Conversation

tcompa
Copy link
Collaborator

@tcompa tcompa commented Mar 24, 2025

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.

@tcompa tcompa marked this pull request as ready for review March 24, 2025 11:11
@tcompa tcompa merged commit b9fab9b into dev-2.14 Mar 24, 2025
18 checks passed
@tcompa tcompa deleted the refine-task-type-logics branch March 24, 2025 11:13
Copy link

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.7 10.4 1.03 0.3 0.6
power 236.2 250.5 0.94 105.9 345.4
dataset 79.6 97.6 0.82 5.4 123.2
project 22.6 28.4 0.80 6.9 43.9
job 9.5 11.6 0.82 0.3 29.7

GET /api/v2/job/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.7 6.5 1.03 2.1 2.2
power 53.9 50.7 1.06 650.0 656.2
dataset 60.7 53.7 1.13 875.2 909.2
project 20.4 21.6 0.94 274.4 285.0
job 17.6 15.1 1.17 217.4 225.9

GET /api/v2/project/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 7.5 7.2 1.04 0.1 0.1
power 7.1 6.8 1.04 0.1 0.1
dataset 7.3 6.8 1.07 0.1 0.1
project 8.4 7.8 1.08 2.3 2.3
job 7.5 6.8 1.10 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.3 5.7 1.11 0.8 0.8
power 6.2 5.8 1.07 0.8 0.8
dataset 6.3 5.8 1.09 0.8 0.8
project 6.0 5.9 1.02 0.8 0.8
job 5.9 5.8 1.02 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 7.0 6.8 1.03 1.6 1.6
power 6.9 6.7 1.03 1.6 1.6
dataset 6.7 6.7 1.00 1.6 1.6
project 10.2 6.6 1.55 1.6 1.6
job 6.6 6.7 0.99 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 11.3 10.9 1.04 0.8 0.8
power 15.1 15.2 0.99 28.0 28.0
dataset 13.5 13.9 0.97 16.2 16.2
project 15.6 16.0 0.97 20.4 20.4
job 11.2 11.7 0.96 0.8 0.8

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

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 38.4 39.5 0.97 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.7 4.5 1.04 0.2 0.2
power 4.4 4.5 0.98 0.2 0.2
dataset 4.4 4.5 0.98 0.2 0.2
project 4.7 4.4 1.07 0.2 0.2
job 4.3 4.5 0.96 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 273.9 274.1 1.00 0.2 0.2

Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  fractal_server
  __init__.py
Project Total  

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

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