The Tournament Director Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 20, 2013, 01:50:20 AM

Login with username, password and session length
Search:     Advanced search
17217 Posts in 3152 Topics by 1522 Members
Latest Member: virtual930
Back to The Tournament Director main site
* Home Help Search Login Register
+  The Tournament Director Forums
|-+  Main
| |-+  Help Me
| | |-+  Many Players makes TD3 Slow
« previous next »
Pages: [1] Print
Author Topic: Many Players makes TD3 Slow  (Read 270 times)
peterw
Newbie
*
Posts: 2


View Profile
« on: June 09, 2012, 05:59:16 AM »

G'Day,

I've installed the TD3.1.1 and all is going well until I import the players to the database.
The CSV has 6743 records.  Now when I attempt to add Players Add to the Tournament or Search via the Find process the Player Buy-In process is very slow. 

(15 seconds to initially show the list of players in the League before the prompt to find is able to be used.)
(50 seconds to find the player.  We have unique ID cards with a Barcode to identify the player which is in the ID field. However it does not seem to matter if this ID is used or if the searching via Player name)

The Laptop PC's I have is the latest models Intel i5 with 4GB RAM and in all other functions very quick. 

Do you have any ideas on what could be wrong or done to improve this?

Kind Regards
Logged
jodybingo
Hero Member
*****
Posts: 592


View Profile WWW
« Reply #1 on: June 09, 2012, 04:56:13 PM »

I have the same issue (had). My DB had over 8000 names. my solution was to work from the database tab. Click Find Player and scan. The result is returned very fast.
Logged

Corey Cooper
Administrator
Hero Member
*****
Posts: 4312


View Profile
« Reply #2 on: June 11, 2012, 02:42:15 PM »

Not surprising.  It's just a sign of the limitations of the framework.  The TD runs inside of Internet Explorer, primarily using Javascript.  There's been a lot of development in Microsoft's JScript implementation of Javascript, and the TD has benefited a lot from it, but it's still an interpreted language and has to rely on the rendering engine of IE (which is hugely flexible, but at a cost of speed in certain circumstances).  Over the years I have made a lot of improvements to speed up the application for situations like this, but there's only so much that can be done.

Even so, I think there is something else at play here.  I'm using a 3GHz Intel i7 with 8GB RAM.  With a database of over 5000 players, when I press the "Add Players" button on the Players tab, the dialog opens and takes about 4 seconds to display the list of names.  When I search for a player, it also takes about 4 seconds before the search is complete and the list of players updated.  15 seconds is way too long for the that initial delay, although it's *possible* the difference in hardware could account for this (but it seems unlikely to me).  50 seconds to search is clearly too long.

This is probably too much to hope for, but sometimes things like this can be explained by the way the software is being used.  For example, recently I received "Out of Memory" error reports from someone.  At different times during tournaments, the software would display this error when attempting to use various functions.  Turned out the player database had several thousand players (can't remember exactly) and for each tournament every player in the database was added to the tournament first, and then only the players that showed up were bought-in, which was usually 10 to 15 players.  So a tournament with 10 players in it actually had, say, 2000 players listed on the Players tab, 1990 of them unnecessarily.  The saved tournament files were huge, the application ran slowly, and generating statistics was painfully slow.  Removing all those extraneous players changed everything.  Any chance you're doing something along those lines?
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!