Uploaded image for project: 'ClojureScript'
  1. CLJS-2424

Improve compiler munge performance Nr 2

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: 1.9.908
    • Fix versions: None
    • Labels:
    • Patch:
      Code

      Description

      This is similar to CLJS-2065 Closed and further improves the performance by avoiding reduce and using a key iterator instead.

      Results for a large CLJS project with lots of namespaces are:

      • Initial compile (cold) Old: 11.4s New: 11.2s
      • First full recompile: Old: 6.8s New: 5.9s
      • After a few full recompiler (warmed up JVM): Old: ~6.1s New: 5.1s

      lein count:

      Ext Files Lines of Code Nodes
      cljs 138 23388 424745

        Attachments

          Activity

            People

            • Assignee:
              dnolen David Nolen
              Reporter:
              aralo Andre R
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: