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

First version of update-db-data for v2.7.0 #1820

Merged
merged 32 commits into from
Oct 8, 2024
Merged

First version of update-db-data for v2.7.0 #1820

merged 32 commits into from
Oct 8, 2024

Conversation

tcompa
Copy link
Collaborator

@tcompa tcompa commented Sep 27, 2024

Close #1836

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 changed the base branch from main to v2.7-new-tasks September 27, 2024 11:15
Copy link

github-actions bot commented Sep 27, 2024

Benchmark comparison

GET /api/alive/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 0.9 0.8 1.12 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.6 10.5 1.01 0.6 0.6
power 393.9 408.6 0.96 389.0 389.0
dataset 149.1 154.4 0.97 145.6 145.6
project 46.4 50.5 0.92 50.9 50.9
job 27.9 29.0 0.96 35.3 35.3

GET /api/v2/job/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 6.7 7.1 0.94 2.2 2.2
power 141.4 139.5 1.01 652.4 652.4
dataset 142.6 143.5 0.99 905.6 905.6
project 48.6 47.0 1.03 283.9 283.9
job 37.3 40.7 0.92 225.0 225.0

GET /api/v2/project/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 8.0 8.2 0.98 0.1 0.1
power 7.8 7.8 1.00 0.1 0.1
dataset 7.7 7.8 0.99 0.1 0.1
project 9.6 9.7 0.99 2.3 2.3
job 7.7 8.0 0.96 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 6.4 0.98 0.7 0.7
power 6.3 6.4 0.98 0.7 0.7
dataset 6.6 6.7 0.99 0.7 0.7
project 6.5 6.3 1.03 0.7 0.7
job 6.2 6.3 0.98 0.7 0.7

GET /api/v2/workflow/

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
vanilla 12.1 12.2 0.99 0.8 0.8
power 25.1 24.8 1.01 27.3 27.3
dataset 19.5 19.1 1.02 15.9 15.9
project 25.1 23.6 1.06 19.9 19.9
job 12.3 12.1 1.02 0.8 0.8

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

User Time current (ms) Time main (ms) Ratio current/main Size current (Kb) Size main (Kb)
dataset 152.3 151.6 1.00 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 5.4 5.2 1.04 0.2 0.2
power 5.0 4.9 1.02 0.2 0.2
dataset 5.1 5.1 1.00 0.2 0.2
project 5.1 5.1 1.00 0.2 0.2
job 5.1 5.0 1.02 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 264.5 264.8 1.00 0.2 0.2

Copy link

github-actions bot commented Sep 27, 2024

Coverage report

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

Base automatically changed from v2.7-new-tasks to main October 3, 2024 08:28
@tcompa tcompa marked this pull request as ready for review October 7, 2024 14:52
@tcompa tcompa merged commit d15c129 into main Oct 8, 2024
@tcompa tcompa deleted the update-db-data-v2.7 branch October 8, 2024 06:48
@tcompa tcompa requested a review from ychiucco October 8, 2024 07:12
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.

Data migration script for v2.7.0
1 participant