-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 4.0.0
-
Component/s: BSON
-
None
-
Environment:Using Bitmani supplied docker image, bitnami/mongodb:4.1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We are running unit tests as part of maven initiated testing which indirectly creates mongo connections, these seem to take some time to startup and we are seeing lots of time calling createMachineIdentifier;
e.g.
7.1% - 1,114 ms - 1 hot spot inv. org.bson.types.ObjectId.createMachineIdentifier (line\: 489
Is there any way to shorten the amount of time being spend calling createMachineIdentifier?