• Nick Thomas's avatar
    Speed up loading and filtering deploy keys and their projects · d3a3db42
    Nick Thomas authored
    This commit changes how we eager-load projects, routes, and namespaces
    required by the deploy keys endpoint, getting a 10x improvement in my
    local testing.
    
    The endpoint still doesn't scale in-general, but going from ~13 seconds
    to dump a 63K result to generating the same thing in ~1.6 seconds seems
    like a good improvement to me.
    d3a3db42
project.rb 69.6 KB