I've written a timed decorator that times the function calls, it is imported with: from util.timed import timed and called with @timed() def function_to_time():
In the tvguide, when moving about, down a channel and right to next program, the following output is seen, from this it is pretty clear the then delay is caused by refresh. -> eventhandler -> change_channel -> rebuild -> refresh -> update -> update_schedules <- update_schedules: 0.001 <- update: 0.018 <- refresh: 0.302 <- rebuild: 0.308 <- change_channel: 0.315 <- eventhandler: 0.316 -> eventhandler -> change_program -> rebuild -> refresh -> update -> update_schedules <- update_schedules: 0.001 <- update: 0.020 <- refresh: 0.305 <- rebuild: 0.312 <- change_program: 0.318 <- eventhandler: 0.318 I'm just wondering if anyone knows why the refresh function takes about 1/3 of a second? This message is just for information, but comments are welcome. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel