Defaults scope set with path slows down build


#1

Running Jekyll 3.8.3

When setting defaults with path I get a 22 second jump in build time. When I set the scope with type I get a 2 second jump in build time.

defaults:
  - scope:
      path: "_serveradmin"
      # type: serveradmin
    values:
      plugindisclaimer: True

Is this expected?


#2

Yes this is expected. A few versions ago glob patterns were added for path and that affected build performance.

It was much worse before but got better with an update.

Check this issue for more info: