Skip to content

Sometimes git commit plugin is very slow (~8min to run on brand new MacBook Pro) #110

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
caseydawsonjordan opened this issue May 8, 2014 · 4 comments
Milestone

Comments

@caseydawsonjordan
Copy link

I notice that sometimes the plugin takes very long to execute, it usually sits at this step:

[info]
[info]
[info]
[info] git.build.user.name xxx
[info] git.build.user.email xxxx
[info] git.branch xxxx
[info] --always = false
[info] --dirty = -dirty
[info] --abbrev = 7
[info] --long = %s false
[info] --match =
[info] Tag refs [ [] ]
[info] Created map: [ {} ]
[info] HEAD is [ 41167aex33c22ee3566920aaa8e8c67dd731d6e8 ]

Is there a way to speed this up via configuration or something?

This is the configuration I am using: https://gist.github.com/caseydawsonjordan/27e7cd2f6092edf7a408

Thanks!

@ktoso
Copy link
Collaborator

ktoso commented May 8, 2014

Most probably by using native git instead of jgit. There is a pull request for that which I wanted to clean up before merging.

@ktoso ktoso closed this as completed in c89495f May 17, 2014
@ktoso
Copy link
Collaborator

ktoso commented Jun 1, 2014

This should be solved now - check the latest 2.1.10 version which includes the native git implementation! Should be way faster :-)

@ktoso ktoso added this to the v2.1.10 milestone Jun 1, 2014
@caseydawsonjordan
Copy link
Author

Cool, thank you very much. I'll check it out tomorrow.

On Sunday, June 1, 2014, Konrad Malawski [email protected] wrote:

This should be solved now - check the latest 2.1.10 version which
includes the native git implementation! Should be way faster :-)

Reply to this email directly or view it on GitHub.<
https://ci4.googleusercontent.com/proxy/ZPZKm982P3vK9up2Y9MmGaaiwB7haREHgNEie6que5hgV_P4enSGj5hTGTyutWO8h1Dkg_p5wjNNgjGEk_PO1SU2XPfPe7NHtOpUMqeEaeJmO4hbk4NT7cwnnrBrGzB4Ym1XoDxXeuxuPcAlLswEdBEuNvNZxJFm-dv7gLVdVR4edOs0SRXkifxZVqxJ_AKajDcLFSEEN3EZDeVbEtycSP0DpVuAnnkDPC-tirIMHQgtpaz3jmcK9VU91XIT0hrYy4p0MPwkGPWS5FV9bq0aEUXmzUH_=s0-d-e1-ft#https://github.com/notifications/beacon/533981__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzI4NTU5NywiZGF0YSI6eyJpZCI6MzE3NzA3NjF9fQ==--867dcfc5dd72933a6c2131a110a7fecb7b1a4e82.gif

Casey Jordan
easyDITA a product of Jorsek LLC
"CaseyDJordan" on LinkedIn, Twitter & Facebook
(585) 348 7399
easydita.com

This message is intended only for the use of the Addressee(s) and may
contain information that is privileged, confidential, and/or exempt from
disclosure under applicable law. If you are not the intended recipient,
please be advised that any disclosure copying, distribution, or use of
the information contained herein is prohibited. If you have received
this communication in error, please destroy all copies of the message,
whether in electronic or hard copy format, as well as attachments, and
immediately contact the sender by replying to this e-mail or by phone.
Thank you.

@ktoso
Copy link
Collaborator

ktoso commented Jun 1, 2014

If stuff breaks on useNativeGit please let us know so we can patch it up!
I’m not very convinced about calling into git and parsing it - let’s hope it’ll be fine on most git versions.

Thanks in advance!

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