When I add a custom Worklog Attribute to a tempo team report (select the attribute from Views menu), a request is made to retrieve the Account for each JIRA Issue, but the Account is already known.
While Tempo 7.6.3 delivered a major performance improvement, can the performance of this report be optimized further?
Background
We're using Tempo 7.6.3 on JIRA 5.2.7
Without showing any extra fields (all options unchecked on View menu), our Tempo Team report for May 2013 loads in 4.64 seconds, with the browser making 49 HTTP requests.
When the "Accounts" field is added, our Tempo Team report for May 2013 loads in 4.64 seconds, with 49 HTTP requests. No additional requests are made because the "Accounts" field is just part of the response to the existing request https://jira.example.com/secure/TempoTeamBoard!report.jspa?v=1&team=2&periodType=BILLING&periodView=PERIOD&period=0513&account=false
Performance Concern
If we select "Type" or "Category" from the Views menu, our Tempo Team report for May 2013 loads in 7.88 seconds, with the browser making 162 HTTP requests.
There were 89 requests to retrieve the "Account" for each Issue:
Request
Can this performance be optimized further? A suggestion included as an answer.
(all times best of 3 page loads)
Update Tempo Timesheets to use the "Account" data already available from TempoTeamBoard!report.jspa. This would eliminate 89 HTTP requests to tempo-rest, cutting 40% of the load time for this report.
While Account could be read directly from table#issuetable tbody tr.section.level-2 td.nav:nth-child(5), it would be better form to change the response a bit. Perhaps a data attribute:
<table id="issuetable"> <tbody> <tr class="section level-2" data-fields="{account: 'FRSD'}"> <td class="nav">...</td> </tr>
...this would let you expand by adding more attributes to data-fields as needed
Thanks Anson.
You are absolutely right. I had spotted this optimization possibility and we are already looking into it.
Best regards,
Bjarni (Tempo development)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear it. Our management team was a little put off by the performance on some reports, but they'll be glad to see 97% optimization in 7.6.3 and additional optimizations are already on the way. Our development team is happy that this makes optimizations within our integrated apps less necessary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tracked at https://tempoplugin.jira.com/browse/TT-42
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll vote+watch the issue. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.