Lazy load commands

Description

Refactor CommandService to build out the command hierarchy, but don't instantiate the CFCs yet. Instead, read the component metadata to get aliases and help annotations. Create the actual Command CFCs on demand as they are called.

Activity

Show:
Luis Majano
July 9, 2014, 6:27 PM

Go ahead and do this

Brad Wood
July 10, 2014, 11:28 PM

Times before ticket:

System commands... 465 ms
User commands... 1237 ms
Done... Total 1872 ms

Times after ticket:

System commands... 81 ms
User commands... 334 ms
Done... Total 595 ms

Overall increase of 68% in command loading.

Further improvements might include enabling trusted cache.

Luis Majano
July 30, 2014, 12:51 AM

Make sure hints are added with arguments scope as well. Also make sure the pathPatternMatcher follows camel case.

Fixed

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

Time tracking

0m

Time remaining

0m

Priority

Major

Components