Skip to content

Commit 489b4a0

Browse files
SvenMorgenthalerGitHub Enterprise
authored andcommitted
SKA-1088: persistency flag and loading time (#221)
- added additional hint regarding this feature related to potential loading time improvements
1 parent 5de6ed3 commit 489b4a0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ If no configuration was provided or if it did not specify a registry URI, the de
202202
The FMU Importer uses the SIL Kit logger for its output.
203203
Therefore, you need to provide a SIL Kit configuration file that contains a `Logging` section to see any output provided by the FMU Importer. The FmuImporter defaults to loading this configuration file from ./Config.silkit.yaml, but a different one can be provided by the corresponding command line option (-s).
204204
The FMU Importer prints most of its logs on the `Info` level, but in case an error occurs, there is one log message on the `Error` level that contains the error message and a log message on the `Debug` level that contains the error message including further information (such as a stack trace) to track the error's origin more easily.
205-
> Persistence allows the FMU to be extracted once and reused across runs by storing it in a known folder (that has the same name as the FMU itself) and validating it with a hash.
205+
> Persistence allows the FMU to be extracted once (--persist) and reused across runs (--use-persisted) by storing it in a known folder (that has the same name as the FMU itself) and validating it with a hash.
206+
207+
> Note: This persistence feature can also help you to mitigate issues with long FMU loading times. It can reduces the loading time because it does not need to decompress the FMU every time. It can also reduce the likelihood of additional security measures (e.g. anti virus software scans) because no new folder structure inside your default temp folder has to be created every time you import a FMU.
206208
207209
### **Example setup with a FMU exported by Vector vVIRTUALtarget**
208210
* Export the FMU with vVIRTUALtarget 9 or newer (refer to the tools help section `Functional Mock-up Unit` for further details).

0 commit comments

Comments
 (0)