TODO
TODO
TODO
For short executions, most of the execution time is related to starting a JVM.
There is an experimental feature where you can call Clava in server mode. In this mode, Clava can run in the background and will wait for requests. Then you can use a compiled program that performs requests to the server.
To start Clava in server mode, use the flag -server:
clava -server
The Linux instalation script provides the clavaw
program, which sends a request to a Clava server:
clavaw <Clava flags>
Execution time without server vs with server:
Clava.getData().getContextFolder()
(import clava.Clava;
) to return the folder of the config file.clavaw
runs.