SonarQube JavaScript
  1. SonarQube JavaScript
  2. SONARJS-175

Improve performance of parser by refactoring of grammar

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      At least following must be done:

      • Left-Factoring of assignmentExpression
      • Remove unused alternative from ifStatement
      • Rethink rules arrayLiteral, objectLiteral, arguments, caseBlock

        Activity

        Hide
        Freddy Mallet added a comment -

        Works done Evgeny, about 800ms to analyse the JQuery framework !

        Show
        Freddy Mallet added a comment - Works done Evgeny, about 800ms to analyse the JQuery framework !
        Hide
        Evgeny Mandrikov added a comment -

        Don't forget that most of the time we loose in lexer

        Show
        Evgeny Mandrikov added a comment - Don't forget that most of the time we loose in lexer

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: