ClojureScript

Speed up cljsc by exiting when work is done.

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

When following cljsc output with

tail -f test.js

you can see that even after the ouput is printed, the compiler waits a long time before exiting.
Attached patch flushes out, shuts down agents and exits at the end of the compilation thread. This reduces the apparent compilation time of test/ from 1m 13s to 13s on my machine.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: