The new user interface is in preview!

Want to check it out? Click here! (If you don't like it, you can still switch back)

League Forums

Main - Suggestion Box

Re: Anyway to Improve Free Agency Performance?

By setherick
2/27/2016 8:45 am
Is there any way to improve free agent load times? Some suggestions below.

1) Don't load all of the free agents on the initial load. Go to a launch screen instead and pick the position.

2) Don't load players below X overall based on individual weights. I'm thinking X should be 50. Alternatively don't load out of position players below X overall. (I don't need to see that the 89 overall kicker is a 5 overall DT.)

3) Don't load Kickers and Punters at all on the all load. Kickers and Punters get shifted to the top of the list all the time. (I guess I could try to not weight them at all...) So most of the time you're going to have to scroll 3 pages of players before seeing others.

EDIT: Fun fact. If you set your weights for punters and kickers to all zeroes, you can cause what appears to be an infinite loop. My roster screen no longer loads... I need to experiment with that a bit.
Last edited at 2/27/2016 8:48 am

Re: Anyway to Improve Free Agency Performance?

By jsid
2/27/2016 4:04 pm
Honestly I'd be fine with any FA under an overall potential rating under 45 by default weights at default position forced to retire, as well as any K or P outside of the top 10 free agents being forced to retire at Week 1.

Re: Anyway to Improve Free Agency Performance?

By TAFIV
2/27/2016 4:17 pm
jsid wrote:
Honestly I'd be fine with any FA under an overall potential rating under 45 by default weights at default position forced to retire, as well as any K or P outside of the top 10 free agents being forced to retire at Week 1.


+1 would probably say the same only problem is the "default weight" part since it's set by your head coach's play styles, maybe if it was "potential rating under x number for ANY play style" that might work

biggest help in the short term would probably be instead of having the default load page be "all" make it the "all except kickers" setting this would be the quickest fix since for most programming that would only require 1 parameter to be changed

Re: Anyway to Improve Free Agency Performance?

By jdavidbakr - Site Admin
2/29/2016 8:28 pm
You can do a 'player search' instead of a listing all free agents - 'free agents' is one of the options under 'team.' This way you avoid having it calculate the entire league's available free agents and get the filters immediately instead of after it has loaded.

I'm constantly looking for ways to optimize the code but this is an unfortunate side effect of having each player have a custom rating for every user.

Re: Anyway to Improve Free Agency Performance?

By setherick
2/29/2016 8:40 pm
jdavidbakr wrote:
You can do a 'player search' instead of a listing all free agents - 'free agents' is one of the options under 'team.' This way you avoid having it calculate the entire league's available free agents and get the filters immediately instead of after it has loaded.

I'm constantly looking for ways to optimize the code but this is an unfortunate side effect of having each player have a custom rating for every user.


I was afraid of that. I figured that might be the culprit.

Dropping the player's weights to all zeroes was crashing the roster div in the team page though. I'll see if I can reproduce that today again.

EDIT: Confirmed. Still crashes it -- or more appropriately causes it to fail to load which is why I suspect it's causing an infinite loop somewhere.
Last edited at 2/29/2016 8:42 pm