Skip to content
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

Use hardlinks to create copies for performance boost #1496

Closed
mlissner opened this issue Oct 9, 2014 · 1 comment
Closed

Use hardlinks to create copies for performance boost #1496

mlissner opened this issue Oct 9, 2014 · 1 comment

Comments

@mlissner
Copy link
Contributor

mlissner commented Oct 9, 2014

I made a change on my branch, just as a test

mlissner@ba5829d

Immediately my "build" times for my blog came down by many seconds, even when using --write-selected.

I recognize this probably isn't platform independent (an assumed goal of Pelican?), so I'll need to tweak it, but any reason we haven't done something like this already? Seems like low-hanging fruit so want to make sure I'm not missing something.

@smartass101
Copy link
Contributor

There already is an issue for this: #1042
Your approach unfortunately does not address the whole issue, have a look at utils.copy.
We'd welcome your contribution in the form of expanding on the work done in the referenced issue. Not that you need to take the same approach (maybe there is a better one), but please DRY and have a look what needs to be done.

Platform portability is an issue of course, but if it's clearly documented and will fall back to copying on platforms without linking support, that would be ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants