Current Song Stats and a peek.

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

    Re: Current Song Stats and a peek.



    Comment

    • #92
      FFR Player
      African Anger
      • Dec 2013
      • 158

      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

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

        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

        • #94
          O Derby, Where Art Thou?
          tosh
          • Jul 2003
          • 1057

          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

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

            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

            • #96
              Wubalubadubdub
              shenjoku
              • May 2005
              • 1734

              Re: Current Song Stats and a peek.

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

              Comment

              • #97
                🥓<strong><span style="col
                justin_ator
                • Mar 2007
                • 7688

                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

                • #98
                  Dan "Razor" Devilz
                  FFR Simfile Author
                  Razor
                  • May 2004
                  • 1610

                  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

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

                    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, 03:58 AM.

                    Comment

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

                      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

                      • #101
                        Digital Dancing!
                        FFR Simfile Author
                        FFR Music Producer
                        rushyrulz
                        • Feb 2006
                        • 13109

                        Re: Current Song Stats and a peek.

                        integrate this


                        I know it's prolly not gonna happen.


                        Comment

                        • #102
                          Banned
                          ExacerbatE
                          • Oct 2013
                          • 218

                          Re: Current Song Stats and a peek.

                          Originally posted by rushyrulz

                          That would be cool though.

                          Comment

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

                            Re: Current Song Stats and a peek.

                            Originally posted by rushyrulz
                            src plz. I'm lazy.

                            Comment

                            • #104
                              Banned
                              ExacerbatE
                              • Oct 2013
                              • 218

                              Re: Current Song Stats and a peek.



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

                              Comment

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

                                Re: Current Song Stats and a peek.

                                Originally posted by rushyrulz


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

                                Comment

                                Working...