ioi-2022 / cms

Contest Management System
http://cms-dev.github.io/
GNU Affero General Public License v3.0
3 stars 2 forks source link

Add worker optimizations from IOI 2021 #39

Closed fushar closed 2 years ago

fushar commented 2 years ago

Quoting Ranald:

result cache size helped - i tested by regrading the whole of ioi2020 submissions, and took the total time
the other timeouts i did not do experiments - just observed it was more responsive when the worker is killed
codecov-commenter commented 2 years ago

Codecov Report

Merging #39 (d0cbbcd) into master (74a4c0c) will increase coverage by 0.32%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   63.51%   63.84%   +0.32%     
==========================================
  Files         234      234              
  Lines       17278    17278              
==========================================
+ Hits        10974    11031      +57     
+ Misses       6304     6247      -57     
Flag Coverage Δ
functionaltests 47.64% <100.00%> (+0.49%) :arrow_up:
unittests 44.14% <0.00%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cms/service/EvaluationService.py 75.62% <100.00%> (+5.22%) :arrow_up:
cms/service/workerpool.py 69.44% <100.00%> (+2.22%) :arrow_up:
cms/service/ScoringService.py 67.64% <0.00%> (-2.95%) :arrow_down:
cms/db/util.py 53.33% <0.00%> (-1.49%) :arrow_down:
cms/server/admin/handlers/task.py 43.58% <0.00%> (-0.74%) :arrow_down:
cms/server/contest/phase_management.py 97.61% <0.00%> (ø)
cms/db/submission.py 97.94% <0.00%> (+0.51%) :arrow_up:
cms/server/contest/handlers/tasksubmission.py 49.73% <0.00%> (+0.52%) :arrow_up:
cms/server/contest/handlers/taskusertest.py 47.72% <0.00%> (+0.56%) :arrow_up:
cms/db/filecacher.py 80.36% <0.00%> (+0.61%) :arrow_up:
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 74a4c0c...d0cbbcd. Read the comment docs.