Hi,
from a different setup I got a monolithic .opi-File for the control of a HV crate.
(see ISEG_HV_monolithic.tar.gz)
For a better maintenance I rewrote it and split it up into single opi Files which are then included by linking container widgets and configuring them using macros.
By this
“RICH_HV_2016.opi” includes
1 time “HV_16x10.opi” which itself links
10 times “HV_16ch_set.opi ” which again itself links
17 times “HV_Channel.opi“.
(see ISEG_HV_modular.tar.gz)
Simply comparing the file sizes and the lines of code I came down from 4.5 MB and ~115.000 lines down to 152kB and ~4300 lines.
But,
comparing the startup times (just counting the seconds) I see a difference of a factor of ~5, where the monolithic opi just took 1-2 seconds to come up.
Also the connection time to the see the variables slowed significantly down.
Is this a bad strategy / ansatz?
In general how to determine the performance more objectively?
Any comments welcome.
Best regards,
Peter
--
Dr. Peter Zumbruch
RBEE / Experiment Electronics // Controls group
E-Mail: [email protected]
Tel: +49-6159-71-1435 / Fax: +49-6159-71-2986
GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1 / 64291 Darmstadt / www.gsi.de
Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Darmstadt
Handelsregister: Amtsgericht Darmstadt, HRB 1528
Geschäftsführung: Ursula Weyrich, Prof. Dr. Karlheinz Langanke, Jörg Blaurock
Vorsitzender des Aufsichtsrates: Staatssekretär Dr. Georg Schütte
Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt