Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1593

Debugging slows down JavaScript execution 20x times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 10.0
    • None
    • debugger - Java
    • None

    Description

      While working on PR-4 I realized that Truffle debugger support in NetBeans slows down execution 20x times. Without debugger the benchmark can execute in 150ms. With debugger it takes more than 3s. At current state the great Truffle debugging feature is not suitable for a demo.

      To reproduce, you need:

      Then you can debug the AppTest unit test and put a breakpoint to calls to eval, etc. Once the breakpoint is hit, remove it and continue. The rest of the execution will be slow - e.g. take more than 3s for each round.

      Attachments

        Activity

          People

            entlicher Martin Entlicher
            jtulach Jaroslav Tulach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: