No namespaces loaded is not a very good benchmark IMO, a real project will have lots of them.
I've worked on a large project with many namespaces and dependencies and it took about 20 seconds.
I've worked on a large project with many namespaces and dependencies and it took about 20 seconds.
Maybe your service was also initializing a lot of state/components on startup?