]> gerrit.simantics Code Review - simantics/platform.git/commit
Speeding up platform startup time 38/2538/2
authorjsimomaa <jani.simomaa@gmail.com>
Fri, 30 Nov 2018 12:04:34 +0000 (14:04 +0200)
committerJani Simomaa <jani.simomaa@semantum.fi>
Mon, 10 Dec 2018 10:00:39 +0000 (10:00 +0000)
commitda1d266392c3fe2f1ad1541c0f401763c3802f01
tree1f7359f4c6b08ba2779260ba6f467347acd83fce
parentab95cc6c2e77d8433f50b6438474b543bb029cf7
Speeding up platform startup time

Shaved ~1.5seconds off by starting SCL compiler priming at the beginning
of platform startup on the background before the LifeCycleProcesses
project feature needs the compiler.

Also removed seemingly unused VirtualGraphInitializer that installed
virtualgraphs/*.tg files into random memory-persistent virtual graphs
during platform startup. It simply piles on some startup overhead and
does nothing.

gitlab #221

Change-Id: I1ebbc4e292957755cd88f2941cd02730ae8605c8
(cherry picked from commit 6667a65141692bc359087d8f1c9c8561636f1c59)
bundles/org.simantics.db.layer0/plugin.xml
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/service/impl/VirtualGraphInitializer.java [deleted file]
bundles/org.simantics.db.services/META-INF/MANIFEST.MF
bundles/org.simantics.db.services/src/org/simantics/db/services/AdaptionServiceInitializer.java
bundles/org.simantics.db.services/src/org/simantics/db/services/GlobalServiceInitializer.java
bundles/org.simantics.project/src/org/simantics/project/impl/Project.java
bundles/org.simantics.scl.osgi/src/org/simantics/scl/osgi/internal/Activator.java
bundles/org.simantics/src/org/simantics/SimanticsPlatform.java