Ticket #10919 (closed: fixed)
Determine Instrument Fraction
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | minor | Milestone: | Release 3.4 |
Component: | Reflectometry | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Harry Jeffery |
Description
Question raised by Reflectometry group (Max). What proportion of the time for loading processed nexus files is occupied by reading of the instrument?
Attachments
Change History
comment:2 Changed 6 years ago by Owen Arnold
Using 'POLREF00004699_nexus.nxs' I obtained the following timings for the time taken to load the instrument definitions and spectrum maps as a fraction of the total load. I ran the same load 6 times clearing memory each time to avoid effects of instrument caching.
604 1717
752 2057
563 1787
584 1796
592 1797
590 1812
First column is for the instrument parts only.
This gives an average of 614.16 in the first column and 1827.67 in the second. As a result, the loading of the instrument takes almost exactly 1/3 of the total load time of LoadNexusProcessed
comment:3 Changed 6 years ago by Owen Arnold
Tester. There are no (permanent) code changes as part of this. These results will be used for SSC reporting only. Verify that the results highlighted above seem reasonable.
comment:4 Changed 6 years ago by Owen Arnold
- Status changed from assigned to verify
- Resolution set to fixed
comment:5 Changed 6 years ago by Owen Arnold
Code changes for timings have been exported as a patch for reference.
comment:6 Changed 6 years ago by Harry Jeffery
- Status changed from verify to verifying
- Tester set to Harry Jeffery
comment:7 Changed 6 years ago by Harry Jeffery
- Status changed from verifying to closed
Using the same benchmark on my system I got 81±2 and 228±3, across six runs. The figures seem to hold up.