I am testing applications with two different runtimes: node.js and java native executable (ahead of time compiled with GraalVM).
Here are the startup logs.
Node.js:
Duration: 556.31 ms Billed Duration: 600 ms Memory Size: 128 MB Max Memory Used: 81 MB Init Duration: 365.44 ms
Native executable:
Duration: 548.98 ms Billed Duration: 1000 ms Memory Size: 256 MB Max Memory Used: 106 MB Init Duration: 411.83 ms
As you can see, Duration
and Init duration
are very close, but for some reason Billed Duration
is almost 2 times more for the custom runtime with native executable.
Could you please explain what is the difference and how I can avoid that?