Hello everyone, I am using GWT MVP, I have different DisplayRegions for Different Activities.
when I navigate around my app, from the time the History Token changes to the time Activities start showing up in display regions, there is a noticable delay. this delay is more apparent in Chrome than in Firefox. I am in Place A. (which only has one activity/display region) when I go from Place A to Place B (which has 3 activities/ displayregions) I notice the History Token changes right away (I am using HyperLink for transition not placeController) but there is a delay before 3 display regions in Place B show up. in FireFox its negligible but in Chrome is really noticable. I am not contacting the server, I am not accessing any data. I am not building any complex UI or div manipulation, basically displaying a Label or a Panel consisting of only Labels and HyperLinks in my DisplayRegions. I believe when user navigates, going from Place A to Place B, lets say through a HyperLink, the HistoryToken changes, this HistoryToken needs to be parsed, pieces of it analyzed to be figured out what this new place is, and corresponding Place for this new History Token needs to be constructed, which involves going through a list of places and one by one through if/else, to figure out the Place. then when the corresponding place is found, we have ActivityMappers, when having 4-5 ActivityMappers/Managers , these 5 ActivityMappers have to Analyze the Place to figure out which of their fine-grained ActivitiiesMapper should act on it, and then the corresponding activity is returned from ActivityMapper to the ActivityManager. I believe all these "string manipulation/analysis" on new history token, and subsequent mapping of Place to Activity is 4-5 ActivityMappers is causing this. to clarify, I have 3 display regions, 3 ActivityMappers and 3 places at the moment. the log statements show this on every transition, even though I am not communicating with server. Thu Jan 06 11:20:14 PST 2011 WireActivityLogger FINEST: Remote logging message acknowledged I was wondering in your experience, when you navigate from a Place A to Place B in your app, how long does it take for the Activities to show up from the time History Token changes. is it instantanously, or you notice a slight delay ? do you notice more delay in Chrome than in firefox ? Thank You -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.