Hello!
I am using the plugin for a large Redmine installation. Latest commit dcea02c introduced a major slowdown for grouping by issues. Is this patch just a refactoring? Could we safely revert it?
A test report by administrator takes 65 seconds with dcea02c but if I reverse this chunk in a issue_time_entries_for_all_users method then it takes just 27 seconds (surely 27 seconds is not a best result but it is a different story).
It is a strange regression. I think eager_load does not perform well and a simple include with join is faster. Please check attached ruby-prof stack profiles if you need extra information.
Hello!
I am using the plugin for a large Redmine installation. Latest commit dcea02c introduced a major slowdown for grouping by issues. Is this patch just a refactoring? Could we safely revert it?
A test report by administrator takes 65 seconds with dcea02c but if I reverse this chunk in a
issue_time_entries_for_all_usersmethod then it takes just 27 seconds (surely 27 seconds is not a best result but it is a different story).It is a strange regression. I think
eager_loaddoes not perform well and a simpleincludewithjoinis faster. Please check attachedruby-profstack profiles if you need extra information.