-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: AsyncRewriter, Performance
-
None
-
None
Calling EJSON.stringify inside mongosh results in a performance of less than 100 invocations/second . anna.henningsen@mongodb.com directed me to file a ticket.
To reproduce, pipe the atached file through mongosh:
cat SERVER-110730.stdin | time mongosh --nodb >/dev/null
15.58user 0.40system 0:12.11elapsed 131%CPU (0avgtext+0avgdata 454004maxresident)k
0inputs+408outputs (0major+102752minor)pagefaults 0swaps
In other words, it takes 15 seconds to process 1000 JavaScript objects, with a total text size of 1.2MB
- related to
-
MONGOSH-1040 Improve async rewriter performance
-
- Backlog
-