Current Song Stats and a peek.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlexDest
    good hot
    FFR Simfile Author
    • Sep 2007
    • 5309

    #91
    Re: Current Song Stats and a peek.



    Comment

    • African Anger
      FFR Player
      • Dec 2013
      • 152

      #92
      Re: Current Song Stats and a peek.

      Originally posted by Pseudo Enigma


      I'm not sure internet speed has anything to do with this.


      Then again, my speed is poop
      it sure doesn't
      Attached Files
      Originally posted by danceflashrevo
      Middie, you're being a complete fucking dick ass. You need to step down

      Comment

      • Velocity
        Doing the wrong thing the right way since 2010.
        FFR Simfile Author
        FFR Administrator
        • Jul 2007
        • 1819

        #93
        Re: Current Song Stats and a peek.

        Code:
        Copyright Flash Flash Revolution 2002-2014 (loaded in 0.788 seconds) v3.0
        There's several things that can be sped up, but I'll look into that after the release. Right now I believe it may be sorting related which is handled in js now.

        Comment

        • tosh
          O Derby, Where Art Thou?
          • Jul 2003
          • 1018

          #94
          Re: Current Song Stats and a peek.

          Yeah the levelrank page has always loaded like 15x slower than every other page on the site for me.

          Comment

          • Velocity
            Doing the wrong thing the right way since 2010.
            FFR Simfile Author
            FFR Administrator
            • Jul 2007
            • 1819

            #95
            Re: Current Song Stats and a peek.

            There's 2 major factors involved. The amount of songs and getting the ranks.
            For each song, it has to get the amount of players who did better then you, or if you haven't played, the total amount of users. After that it gets the songs arrow count and determines AAA/FC other things.

            After all that is done, it sorts it by rank, which php handles quite slowly.


            So in total:
            Code:
            +1 SQL: Get note count, name, id for all levels.
            
            Loop #1 (Every Level) {
            	+1 SQL: Get Player Rank
            	Determine AAA/FC
            }
            
            Determine Token Unlocks
            Sort on Rank
            
            Loop #2 (Every sorted level) {
            	Display
            }
            aka, old system is slow.

            Comment

            • shenjoku
              Wubalubadubdub
              • May 2005
              • 1697

              #96
              Re: Current Song Stats and a peek.

              Wow, this stuff looks pretty crazy. Looking forward to it
              boop

              Comment

              • justin_ator
                🥓<strong><span style="col
                • Mar 2007
                • 7648

                #97
                Re: Current Song Stats and a peek.

                Originally posted by Velocity
                There's 2 major factors involved. The amount of songs and getting the ranks.
                For each song, it has to get the amount of players who did better then you, or if you haven't played, the total amount of users. After that it gets the songs arrow count and determines AAA/FC other things.

                After all that is done, it sorts it by rank, which php handles quite slowly.


                So in total:
                Code:
                +1 SQL: Get note count, name, id for all levels.
                
                Loop #1 (Every Level) {
                	+1 SQL: Get Player Rank
                	Determine AAA/FC
                }
                
                Determine Token Unlocks
                Sort on Rank
                
                Loop #2 (Every sorted level) {
                	Display
                }
                aka, old system is slow.
                Makes sense at least. It really is the only page that has some sort of load time for me on the site.

                Comment

                • Razor
                  Dan "Razor" Devilz
                  FFR Simfile Author
                  • May 2004
                  • 1606

                  #98
                  Re: Current Song Stats and a peek.

                  or maybe its cause half of you have toasters for computers
                  Originally posted by FFR Forum Awards
                  Best FFR file from 2013:
                  3rd: Retro City
                  Originally posted by Choofers
                  I play Stepmania, so I know everything about media formats.

                  Comment

                  • Pseudo Enigma
                    ごめんなさい (/ω\)
                    • Aug 2012
                    • 2290

                    #99
                    Re: Current Song Stats and a peek.

                    I'm pretty sure a toaster can still perfectly process a loop like that one though??? Anyway it doesn't matter, it's still an inconvenience.
                    Last edited by Pseudo Enigma; 01-7-2014, 02:58 AM.

                    Comment

                    • Velocity
                      Doing the wrong thing the right way since 2010.
                      FFR Simfile Author
                      FFR Administrator
                      • Jul 2007
                      • 1819

                      #100
                      Re: Current Song Stats and a peek.

                      If yall could stop caring about stats then there wouldn't be a problem. As it were, I said previously that it should be fixed, but since mine loads instantly anyway, it's hard to tell.

                      Comment

                      • rushyrulz
                        Digital Dancing!
                        FFR Simfile Author
                        FFR Music Producer
                        • Feb 2006
                        • 12985

                        #101
                        Re: Current Song Stats and a peek.

                        integrate this


                        I know it's prolly not gonna happen.


                        Comment

                        • ExacerbatE
                          Banned
                          • Oct 2013
                          • 218

                          #102
                          Re: Current Song Stats and a peek.


                          That would be cool though.

                          Comment

                          • Velocity
                            Doing the wrong thing the right way since 2010.
                            FFR Simfile Author
                            FFR Administrator
                            • Jul 2007
                            • 1819

                            #103
                            Re: Current Song Stats and a peek.

                            src plz. I'm lazy.

                            Comment

                            • ExacerbatE
                              Banned
                              • Oct 2013
                              • 218

                              #104
                              Re: Current Song Stats and a peek.



                              Just because I didn't do it and felt kinda bored...

                              Comment

                              • Velocity
                                Doing the wrong thing the right way since 2010.
                                FFR Simfile Author
                                FFR Administrator
                                • Jul 2007
                                • 1819

                                #105
                                Re: Current Song Stats and a peek.



                                Edit: finished.
                                Last edited by Velocity; 01-8-2014, 10:15 PM.

                                Comment

                                Working...