[[BackLinksMenu]] [[TicketQuery(summary=TEXT_PERFORMANCE_R1, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == Text performance is still not good enough. The purpose of this task is to improve it and make Sophie usable with large text (see [wiki:TEXT_PERFORMANCE_R0#Comments]). At this revision, testing and profiling should indicate bottlenecks that need to be fixed. == Task requirements == * Fix known issues after the first revision of the task: * Mouse clicking leads to a lot of processing currently. * The text that is drawn is not calculated after a synchronization with server, a saved book and after performing "undo/redo". * Determine bottlenecks that slow down text performance (describe them in design): * Manual testing should help see which regular user operations on text take a lot of time to perform. * Automatic testing using performance tests should pin out the most time-consuming pieces of code. * Suggest solutions or ways of improvement (describe them in design) * Provide estimate for how much time is needed for them to be done. * Implement feasible solutions based on the estimates given and the available time left. == Task result == * The [wiki:TEXT_PERFORMANCE_R1#Design Design] section of this wiki page * Source code == Implementation idea == Look at the tests and results from the first revision of this task. The number of characters used in the test might be increased for easier interpretation of results. == Related == TEXT_PERFORMANCE_R0 == How to demo == * Show the better performance by pasting a large text and editing it. * Run the performance tests written and describe the results. = Design = ^Describe your design here. = Implementation = ^Describe and link the implementation results here (from the wiki or the repository). = Testing = ^Place the testing results here. = Comments = ^Write comments for this or later revisions here.