Skip to content

Fix test_unit_pypi_version #2633

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

Merged
merged 2 commits into from
Jun 4, 2025
Merged

Fix test_unit_pypi_version #2633

merged 2 commits into from
Jun 4, 2025

Conversation

ychiucco
Copy link
Collaborator

@ychiucco ychiucco commented Jun 4, 2025

Fix due to new release on June 3, 2025
https://pypi.org/project/fractal-tasks-core/1.2.2/#history

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.

@ychiucco ychiucco requested a review from tcompa June 4, 2025 08:38
@ychiucco ychiucco changed the title Fix test_get_package_version_from_pypi Fix test_unit_pypi_version Jun 4, 2025
Copy link

github-actions bot commented Jun 4, 2025

Benchmark comparison

GET /api/alive/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 0.6 0.7 0.86 0.0 0.0
power 0.6 0.6 1.00 0.0 0.0
dataset 0.6 0.6 1.00 0.0 0.0
project 0.6 0.6 1.00 0.0 0.0
job 0.6 0.6 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 7.9 8.5 0.93 0.2 0.2
power 192.2 196.4 0.98 89.5 89.5
dataset 68.6 69.8 0.98 4.6 4.6
project 17.5 18.4 0.95 5.8 5.8
job 7.7 7.5 1.03 0.2 0.2

GET /api/v2/job/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.1 5.7 1.07 2.2 2.2
power 43.5 45.1 0.96 665.9 665.9
dataset 47.3 49.5 0.96 900.4 900.4
project 18.5 17.2 1.08 282.3 282.3
job 13.9 15.6 0.89 223.7 223.7

GET /api/v2/project/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.1 7.0 0.87 0.1 0.1
power 6.6 6.3 1.05 0.1 0.1
dataset 6.5 6.6 0.98 0.1 0.1
project 7.2 7.6 0.95 2.3 2.3
job 6.0 6.3 0.95 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 4.9 5.1 0.96 0.8 0.8
power 4.7 4.7 1.00 0.8 0.8
dataset 5.1 5.5 0.93 0.8 0.8
project 4.8 4.8 1.00 0.8 0.8
job 4.8 4.7 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 6.5 6.6 0.98 1.7 1.7
power 6.2 6.5 0.95 1.7 1.7
dataset 6.2 6.4 0.97 1.7 1.7
project 6.2 6.5 0.95 1.7 1.7
job 6.2 6.9 0.90 1.7 1.7

GET /api/v2/workflow/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 9.4 10.1 0.93 0.8 0.8
power 12.5 13.3 0.94 28.0 28.0
dataset 10.8 12.0 0.90 16.2 16.2
project 13.2 17.1 0.77 20.4 20.4
job 9.4 10.1 0.93 0.8 0.8

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

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 26.7 30.2 0.88 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 3.9 4.5 0.87 0.2 0.2
power 4.0 4.2 0.95 0.2 0.2
dataset 4.0 4.1 0.98 0.2 0.2
project 3.9 4.0 0.97 0.2 0.2
job 4.0 4.0 1.00 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.5 273.4 1.00 0.2 0.2

Copy link

github-actions bot commented Jun 4, 2025

Coverage report

This PR does not seem to contain any modification to coverable code.

@ychiucco ychiucco marked this pull request as ready for review June 4, 2025 08:49
@ychiucco ychiucco merged commit f385d6d into main Jun 4, 2025
19 checks passed
@ychiucco ychiucco deleted the fix-test-fractal-tasks-core branch June 4, 2025 08:49
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