[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3248: add a jit cache to the /usr/lib/gambas3/ in order to force the jit creation at install time, have the runtime search there first


http://gambaswiki.org/bugtracker/edit?object=BUG.3248&from=L21haW4-

Brian G reported a new bug.

Summary
-------

add a jit cache to the /usr/lib/gambas3/ in order to force the jit creation at install time, have the runtime search there first

Type             : Request
Priority         : High
Gambas version   : Master
Product          : JIT compiler


Description
-----------

Would it be possible to create a /usr/lib/gambas3/cache where apps and libraries/components that use fast, Could create the compiled jit at installation time. This would be a boon to the use of jit. As in many cases it improves performance by as much as 40% over the interpreted app or library.

Currently it takes as long a 30-40 seconds to generate the jit, The jit cache gets cleared when tmp is cleanup after a reboot. which of course can waste as much as 40 seconds to recreate it each time the app starts.

The order of search being the system cache then the user cache.

I am not sure how difficult this would be to implement, The install would have to have to included a script/app to force the build of the jit for the components upon install, This can be created by the app developer and added by the developer as a configuration script run at the end of the install?


System information
------------------

Addition to gambas3 installation package build



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----