1. zs zsen
  2. PowerServer Mobile
  3. Friday, 26 July 2019

I am a PB developer from China.I am currently testing appeonmobile(2019).When running PB program from the workspace, it takes about 10 seconds to start and appear the program window. Mobile phone connects via LAN. Is there anything optimized for server or client?Thank you very much!

environment:
Windows 10 + IIS 8 + powerbuilder 2019 + powerserver 2019(Not the cluster)
system configuration :i3-8100 + 8G

Attached client program code:
application open event script :
----------------------------------------------------------------------------------
SQLCA.DBMS = "SNC SQL Native Client(OLE DB)"
SQLCA.LogPass = '123456'
SQLCA.ServerName = "."
SQLCA.LogId = "sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = "Database='web_datainfo'"

connect using sqlca;

if sqlca.sqlcode<>0 then
messagebox('error','connect to database fail')
halt close
else
open(w_menu_mdi)
end if

----------------------------------------------------------------------------------------
w_menu_mdi open event script :
----------------------------------------------------------------------------------------
dw_1.settransobject(sqlca)

zs zsen Accepted Answer Pending Moderation
0
Votes
Undo

hi,

My program only has OPEN(window), no other code!It should have nothing to do with the code. I guess it should be the server side configuration.

How long is a reasonable time to start running the application from the workspace to the interface?

Regards

zhangsen

 

Comment
Hi,



The start time depend on application. Does it work slow on other device? does other application work slow too? please try a very simple application.



And please provide your app application URL(or a PB case) and client log on device to us for more study, thanks,



Regards,

ZhaoKai
  1. Zhao Kai
  2. Monday, 29 July 2019
There are no comments made yet.
  1. Friday, 26 July 2019
  2. PowerServer Mobile
  3. # 1
Zhao Kai Accepted Answer Pending Moderation
0
Votes
Undo

Hi ,

Have you tried deploying the application as web application and does it have the same issue when you access it from IE?

Does it work slow on other device? Does it work slow when you run the application at the first time or every time you run the application it works slow?

Please avoid loading too many complicated windows and user objects at launch time. Instead, load the complicated objects when it is about to be used. Please refer to this link for more information:
https://www.appeon.com/support/documents/appeon_online_help/2017/appeon_performance_tuning_guide/ch06.html


Please use the Appeon client log functionality that you can find in the section "3.4 Use the Appeon client log to debug the application" from the following URL to determine the codes which caused the performance issue. For Mobile, you can go to Appeon Workspace > Settings > General >Logging to check application log.
http://support.appeon.com/index.php?/Knowledgebase/Article/View/59/15/the-approaches-to-debug-the-appeon-application

Below is an example of what the client log records. From this log file:
(1) we can judge if the sequence of the events is correct or not;
(2) we can determine which PB codes cause this issue on the basis of the log;
(3) we can get to know which code is time-consuming and if any function or event is repeatedly executed on the basis of the timestamp in the log. That information is especially helpful for us to determine the performance issues.

2013-07-18 13:29:19.085 [INFO] Server Type: .NET
2013-07-18 13:29:19.101 [INFO] Client version info:6.6.0188.00
2013-07-18 13:29:19.101 [INFO] IE info: MSIE 8.0
2013-07-18 13:29:19.101 [INFO] 64Bit Browser:NO
2013-07-18 13:29:19.101 [INFO] Client OS: Windows NT 6.1
2013-07-18 13:29:22.201 [DEBUG] Enter Event constructor() of dw_group in w_main_frame
2013-07-18 13:29:22.201 [DEBUG] Leave Event constructor() of dw_group in w_main_frame
2013-07-18 13:29:22.201 [DEBUG] Enter Event constructor() of dw_examples in w_main_frame
2013-07-18 13:29:22.201 [DEBUG] Leave Event constructor() of dw_examples in w_main_frame
2013-07-18 13:29:22.201 [DEBUG] Enter Event open() of w_main_frame in w_main_frame
2013-07-18 13:29:22.201 [DEBUG] Enter Function of_showscroll_pic(boolean) of w_main_frame in w_main_frameh
2013-07-18 13:29:22.231 [DEBUG] Leave Event open() of w_main_frame in w_main_frame
…….


Regards,
ZhaoKai

Comment
There are no comments made yet.
  1. Friday, 26 July 2019
  2. PowerServer Mobile
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.