speedcontrol / nodecg-speedcontrol

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.
MIT License
45 stars 34 forks source link

Optimizing Oengus schedule Import #129

Open gaeldemarseille opened 2 years ago

gaeldemarseille commented 2 years ago

Import duration difference from [Oengus Import] Started importing schedule to [Oengus Import] Successfully imported schedule from Oengus :

Old code

Importing ESAW22
with SRC (initial import)   4:39.070
with SRC (reimport)     1:15.961
without SRC         0:33.078

Importing GTAM21
with SRC (initial import)   3:19.769
with SRC (reimport)     0:30.514
without SRC         0:08.987

New Code

Importing ESAW22
with SRC (initial import)   2:02.394    (-56.1%)
with SRC (reimport)     0:01.978    (-97.4%)
without SRC         0:01.621    (-95.1%)

Importing GTAM21
with SRC (initial import)   1:00.885    (-69.5%)
with SRC (reimport)     0:01.753    (-94.3%)
without SRC         0:01.288    (-85.7%)