Clojure

Loading core specs affects startup time

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: Release 1.9
  • Fix Version/s: Release 1.9
  • Component/s: None
  • Labels:
  • Approval:
    Vetted

Description

Adding the loading of spec itself + the clojure.core.specs namespace containing specs for core makes start time worse (and will only get longer as we add more core specs).

Activity

Hide
Ghadi Shayban added a comment -

Locally,
alpha14 takes 1.02s

time java -jar clojure-1.9.0-alpha14.jar -e ':foo'

Master with this line commented out takes 0.92s

time java -jar target/clojure-1.9.0-master-SNAPSHOT.jar -e ':foo'
Show
Ghadi Shayban added a comment - Locally, alpha14 takes 1.02s
time java -jar clojure-1.9.0-alpha14.jar -e ':foo'
Master with this line commented out takes 0.92s
time java -jar target/clojure-1.9.0-master-SNAPSHOT.jar -e ':foo'

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: