Open om26er opened 3 years ago
importing something from py_eth_sig_utils takes close to 15 seconds
so a plain top level import import py_eth_sig_utils
already takes that much time?
see also similar issue https://github.com/crossbario/autobahn-python/issues/1420
we could create an empty node config, pip install vmprof and then start the node using crossbarfx start --vmprof --shutdownafter 10
. this will produce a vmprof profile which can be analyzed ..
unfortunately, this doesn't work on arm64 because of https://github.com/crossbario/crossbar/issues/1828
On a slower system like a raspberry pi 3, importing something from py_eth_sig_utils takes close to 15 seconds. Not sure what's taking that time, but seems cryptography libraries are somewhat doing their computation on import time.