Reputation: 1209
I am trying to explore performance improvements by switching to native compilation for my Erlang code (native option and {hipe, [verbose]}
).
How can I make sure that the Erlang loader is indeed using the native code from the beam file?
Is there some verbose logging option for the loader to know what it is up to?
Upvotes: 0
Views: 236
Reputation: 41528
You can use code:is_module_native/1:
1> code:is_module_native(lists).
false
Upvotes: 2