Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21935

SpiderMonkey shell takes 20+ minutes to run ~10MB JS test

    XMLWordPrintable

    Details

      Description

      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
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: