-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.1.7
-
Component/s: JavaScript, Shell
-
Server Tooling & Methods
-
ALL
-
15
The fuzzer created a ~10MB JS test (attached). The 3.0.8 shell takes ~12 seconds to run the test. The 3.2.0 shell takes 20+ mins and causes Evergreen tasks to time out.
Both runs used a mongod from master.
Some perf output:
Samples: 795K of event 'cpu-clock', Event count (approx.): 198826000000 39.40% mongo mongo [.] (anonymous namespace)::BytecodeParser::parse() 32.32% mongo mongo [.] JSScript::mainOffset() const 13.02% mongo mongo [.] JS::Rooted<JSScript*>::operator->() const 7.28% mongo mongo [.] JS::Rooted<JSScript*>::get() const