Agent Git - TRIAL version - slowness in PowerBuider12.6

Get help with the installation and running of the Agent Git or Agent SVN plug-ins. This section can also be used for posting comments, suggestions or submitting feature requests. Please do not post bug reports here. When in doubt post your question here.
Post Reply
slietart
Posts: 2
Joined: Thu Oct 12, 2017 3:46 pm

Agent Git - TRIAL version - slowness in PowerBuider12.6

Post by slietart »

Hello,

I am currently testing the AgentGit trial version with Powerbuilder 12.6 before purchasing about 40 licenses, but I notice that the refreshStatus is very slow:
AgentGIT-trial-slowness.PNG
AgentGIT-trial-slowness.PNG (52.76 KiB) Viewed 24553 times
I wonder if the log of the very many phrases below is not the cause ? :

Code: Select all

[Fri Oct 13 15:53:43 2017] >> *** These addition messages are only displayed if the software is unregistered   ***
Extract Log of the refresh duration below :

Code: Select all

...
[Fri Oct 13 16:30:37 2017] >>     Cmd: git.exe status -s nv_mail_manager.sru   Duration: 0.124 sec
[Fri Oct 13 16:30:37 2017] >>     Cmd: git.exe status -s nv_ddac.sru   Duration: 0.125 sec

Code: Select all

...
[Fri Oct 13 16:30:40 2017] >> SccQueryInfoEx Duration: 3.12 sec
[Fri Oct 13 16:30:41 2017] >>     Cmd: git.exe diff --ignore-all-space --ignore-space-at-eol --ignore-blank-lines HEAD nv_mail_manager.sru   Duration: 0.999 sec
[Fri Oct 13 16:30:41 2017] >> SccDiff Duration: 1.108 sec
[Fri Oct 13 16:30:42 2017] >>     Cmd: git.exe diff --ignore-all-space --ignore-space-at-eol --ignore-blank-lines HEAD nv_ddac.sru   Duration: 0.952 sec
...
"Git Diff" cmd seems to be long ??

Is that or is it something else?

Thanks for your answer.
Regards Slietart
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Agent Git - TRIAL version - slowness in PowerBuider12.6

Post by jussij »

but I notice that the refreshStatus is very slow:
In your other post you show an image of the PowerBuilder workspace.

Can you change the PowerBuilder status refresh rate from 5 to 59 and see if that helps :?:

Agent Git always returns the correct status so this extract polling of the status by PowerBuilder is just a waste.
"Git Diff" cmd seems to be long ??
The times shown in the log are the time it is taking to run the actual Git command.

For example if you did the following:
  1. Copied the Git command and directory details from the log
  2. Went to the Agent Git configuration dialog and hit the Dos Shell button
  3. Changed to the correct directory
  4. Ran the Git command
You should see a similar delay to the one that was recorded in the log file.

Cheers Jussi
Post Reply