on 04-14-2016 3:02 PM
Hi there!
We have an application that runs normally when called direct from command line or from explorer, but when called from a Windows Service it runs twice slower.
When we call the application normally it runs in 20 seconds. Called by a Windows Service made in .net 4.5.1 it expend almost 1 minute.
I started a profiler and saw that all the difference is when datastore.decribe is called using the evaluation function. An example of the call: lds_Calc.Describe ( 'Evaluate ("mod(200,10)", 1)')
Analyzing the execution using procmon of sysinternals the both execution do the same thing in the same order, but between the events couch by procmon the gap is grater when running form a Windows Service call. Analyzing the CPU usage, it is on 100% percent on those gaps.
It is doing something else that I cannot get it.
It happens in PowerBuilder 10 and PowerBuilder 12.6 as well.
Anyone have an idea of what is happening?
I would appreciate any kind of help!
Thanks!!
Lauro
Hi Lauro;
Have you tried compiling the PB application into Machine Code vs its default P-Code EXE?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.