On 11/1/06, John M Camara <[EMAIL PROTECTED]> wrote: > patch submitted for reloader_thread (100x speedup) - ticket 1168
On average, for a non-trivial project on my development laptop under Windows XP, I see about 5-5.5 seconds initial start time and 4.2-4.5 seconds reload time (based on a script that starts the project and watches the debug output, then touches controllers.py to observe the time-to-reload). Using something like FAM on UNIX or FindChangeNotification on Windows should theoretically improve this by an average of .5 second; after implementing it on Windows, I'm seeing something closer to a whole second's improvement. The downside is that it's puts some OS-specific code into startup.py. It can be coded to do the right thing on each OS, falling back to "time.sleep() and check the files again", but it's still a bit of platform-specific code. Would anyone object to a patch to implement this? -- Tim Lesher <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

