Skip to content

jekyll-archives interferes with -i (incremental build) #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
UnkindPartition opened this issue Jul 28, 2017 · 5 comments
Closed

jekyll-archives interferes with -i (incremental build) #103

UnkindPartition opened this issue Jul 28, 2017 · 5 comments

Comments

@UnkindPartition
Copy link

Hi,

First of all, thanks for the great plugin.

I found that when doing normal builds, the plugin doesn't really slow down the build — with or without the plugin, the build takes about 5.7 seconds. (I only generate tag pages, about 10 of them.)

However, the incremental build used to take about 0.3 seconds, but when jekyll-archives is enabled, it takes the full 5.7 seconds. This is even true if I set enabled: [], i.e. when no work needs to be done.

Can this be fixed?

@DirtyF
Copy link
Member

DirtyF commented Mar 30, 2018

@feuerbach how did you enable incremental (via config or through passing an option on the command line?). I don't experience this with archive layouts for years, month, and tags. Site builds way faster.

...
2017/08/index.html                                                                                |     1 |   0.00K | 0.000
2017/12/index.html                                                                                |     1 |   0.00K | 0.000
2016/05/index.html                                                                                |     1 |   0.00K | 0.000
tag/static/index.html                                                                             |     1 |   0.00K | 0.000
2016/index.html                                                                                   |     1 |   0.00K | 0.000
2017/04/index.html                                                                                |     1 |   0.00K | 0.000
2015/index.html                                                                                   |     1 |   0.00K | 0.000
2017/11/index.html                                                                                |     1 |   0.00K | 0.000
tag/javascript/index.html                                                                         |     1 |   0.00K | 0.000
2014/index.html                                                                                   |     1 |   0.00K | 0.000
2017/05/index.html                                                                                |     1 |   0.00K | 0.000
2016/11/index.html                                                                                |     1 |   0.00K | 0.000
2018/index.html                                                                                   |     1 |   0.00K | 0.000
2016/01/index.html                                                                                |     1 |   0.00K | 0.000
2016/10/index.html                                                                                |     1 |   0.00K | 0.000
2015/02/index.html                                                                                |     1 |   0.00K | 0.000
2017/03/index.html                                                                                |     1 |   0.00K | 0.000
2014/12/index.html                                                                                |     1 |   0.00K | 0.000
2016/08/index.html                                                                                |     1 |   0.00K | 0.000
2016/06/index.html                                                                                |     1 |   0.00K | 0.000
2017/index.html                                                                                   |     1 |   0.00K | 0.000
2014/11/index.html                                                                                |     1 |   0.00K | 0.000
redirects.json                                                                                    |     1 |   0.21K | 0.000

                    ...done in 1.840519 seconds.

@DirtyF
Copy link
Member

DirtyF commented Mar 30, 2018

@feuerbach could you test with #123 by specifying GitHub branch in your _config.yml:

gem "jekyll-archives", git: "https://github.com/bliof/jekyll-archives", branch: "refactor-base"

@UnkindPartition
Copy link
Author

Hi @DirtyF,

I enable it with -i. Will try that branch.

@DirtyF
Copy link
Member

DirtyF commented Mar 30, 2018

@feuerbach OK, I enabled it with incremental:true in a _config_local.yml

@UnkindPartition
Copy link
Author

Hmm, I can no longer reproduce this even with 8d06b62.

I don't know what to think of this, tbh. I did update jekyll since and even made a couple of local changes, so they might have something to do with this.

I guess feel free to close this, and I'll reopen if I run into this again.

@DirtyF DirtyF closed this as completed Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants