jsource | J engine source mirror
kandi X-RAY | jsource Summary
kandi X-RAY | jsource Summary
J engine source mirror
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jsource
jsource Key Features
jsource Examples and Code Snippets
Community Discussions
Trending Discussions on jsource
QUESTION
I'm using PackageCompiler hoping to create an executable that eliminates just-in-time compilation overhead.
The documentation explains that I must define a function julia_main
to call my program's logic, and write a "snoop file", a script that calls functions I wish to precompile. My julia_main
takes a single argument, the location of a file containing the input data to be analysed. So to keep things simple my snoop file simply makes one call to julia_main
with a particular input file. So I'd hope to see the generated executable run nice and fast (no compilation overhead) when executed against that same input file.
But alas, that's not what I see. In a fresh Julia instance julia_main
takes approx 74 seconds for the first execution and about 4.5 seconds for subsequent executions. The executable file takes approx 50 seconds each time it's called.
My use of the build_executable
function looks like this:
ANSWER
Answered 2020-Mar-03 at 02:40Looks like you are using Windows.
At some point PackageCompiler.jl will be mature for Windows at which you can try it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jsource
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page