Alaska Software Inc. - SLOW creation of Xbase parts ??
Username: Password:
AuthorTopic: SLOW creation of Xbase parts ??
Jack DuijfSLOW creation of Xbase parts ??
on Fri, 29 Jul 2016 15:03:29 +0200
Hello All,

My customers experience s drastical slow-down in performace of my Xbase++ application.
It makes no diffrence is compiled with 1.9 or 2.0

The dialog contains 830+ xbase parts of all kinds
Lots of Tab pages, browses, buttons, radio buttons, groupboxes ans check boxes.
All is build using Express++

To me there is no logical explanation fior this.
I have 4 Computers to my displosal. Below a bench mark:

Same application, same Xbase++ version, virtualy no data-access.
Switching processors do not have noticable changes.

Windows 10 Amd Phenon II x4 955 3.2 GHz 12Gb = 14 seconds.
Windows 10 Intel i7 4810-MQ 2.8Ghz 8Gb = 4 seconds
Windows 10 AMD 6400 Six core 3.5 GHz 8Gb = 6.5 seconds
Windows Vista Pentium Dual core CPU E5200 2.5Ghz 4Gb = 4.5 Seconds.  This last PC is 9.5 years old !!.

Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)
Jonathan LeemingRe: SLOW creation of Xbase parts ??
on Fri, 29 Jul 2016 07:44:17 -0600
Hi Jack...

Shot in the dark here but have you tried disabling the AV software on
the 14.5 second box?

Regards... Jonathan

On Fri, 29 Jul 2016 15:03:29 +0200, Jack Duijf wrote:

>Hello All,
>
>My customers experience s drastical slow-down in performace of my Xbase++ application.
>It makes no diffrence is compiled with 1.9 or 2.0
>
>The dialog contains 830+ xbase parts of all kinds
>Lots of Tab pages, browses, buttons, radio buttons, groupboxes ans check boxes.
>All is build using Express++
>
>To me there is no logical explanation fior this.
>I have 4 Computers to my displosal. Below a bench mark:
>
>Same application, same Xbase++ version, virtualy no data-access.
>Switching processors do not have noticable changes.
>
>Windows 10 Amd Phenon II x4 955 3.2 GHz 12Gb = 14 seconds.
>Windows 10 Intel i7 4810-MQ 2.8Ghz 8Gb = 4 seconds
>Windows 10 AMD 6400 Six core 3.5 GHz 8Gb = 6.5 seconds
>Windows Vista Pentium Dual core CPU E5200 2.5Ghz 4Gb = 4.5 Seconds.  This last PC is 9.5 years old !!.
>
>Regards
>Jack Duijf
>
>-------------------------------------------------------------
>Also a member off the XXP (http://www.xxp.nl)


Jonathan Leeming
jonathan.leeming@the-family-centre.com
Pascal BoivinRe: SLOW creation of Xbase parts ??
on Fri, 29 Jul 2016 19:06:12 +0200
I've heard about problem with "Windows Defender" and it is enabled by
default on Windows 10.

A trick I always use to avoid screen flickering and speed up process is

oDlg := New empty window...
oDlg:create()
oDlg:LockUpdate(.T.)
... Create every controls
oDlg:LockUpdate(.F.)
oDlg:DrawingArea:InvalidateRect()

This make an empty window show up, then every controls appears at once.
Jan EscholtRe: SLOW creation of Xbase parts ??
on Fri, 29 Jul 2016 20:06:19 +0200
Hi Jack,

I discovered this if the databases are on a network device, and the 
drive is not mapped to a drive letter. UNC path seems to be slower than 
a mapped drive.

Jan

Am 29.07.2016 um 15:03 schrieb Jack Duijf:
> Hello All,
>
> My customers experience s drastical slow-down in performace of my Xbase++ application.
> It makes no diffrence is compiled with 1.9 or 2.0
>
> The dialog contains 830+ xbase parts of all kinds
> Lots of Tab pages, browses, buttons, radio buttons, groupboxes ans check boxes.
> All is build using Express++
>
> To me there is no logical explanation fior this.
> I have 4 Computers to my displosal. Below a bench mark:
>
> Same application, same Xbase++ version, virtualy no data-access.
> Switching processors do not have noticable changes.
>
> Windows 10 Amd Phenon II x4 955 3.2 GHz 12Gb = 14 seconds.
> Windows 10 Intel i7 4810-MQ 2.8Ghz 8Gb = 4 seconds
> Windows 10 AMD 6400 Six core 3.5 GHz 8Gb = 6.5 seconds
> Windows Vista Pentium Dual core CPU E5200 2.5Ghz 4Gb = 4.5 Seconds.  This last PC is 9.5 years old !!.
>
> Regards
> Jack Duijf
>
> -------------------------------------------------------------
> Also a member off the XXP (http://www.xxp.nl)
>
Jim LeeRe: SLOW creation of Xbase parts ??
on Fri, 29 Jul 2016 20:25:44 +0200
> Windows 10 Amd Phenon II x4 955 3.2 GHz 12Gb = 14 seconds.

what Grafic Card ? does it use a AGP ? Original or M$ Driver ?
with 12GB you need more than 2 RAM Slots ... try to use only 2 RAM Slots ( 
no RAM Dual Mode )
Jack DuijfRe: SLOW creation of Xbase parts ??
on Sat, 30 Jul 2016 18:28:18 +0200
Hello All,

Thank you all for your input.
It tuns out the video driver is of some influence.
If i disable the ATI Radeon HD 4250 and ATI Radeon HD 4300/4500 series, and go back to simple screen device, i gain 3 to 4 seconds.

I started Windows in protected mode, but then i can not start my application.

If i find the time, i wil create a test application 

Regards,
Jack Duijf



On Fri, 29 Jul 2016 15:03:29 +0200, Jack Duijf wrote:

>Hello All,
>
>My customers experience s drastical slow-down in performace of my Xbase++ application.
>It makes no diffrence is compiled with 1.9 or 2.0
>
>The dialog contains 830+ xbase parts of all kinds
>Lots of Tab pages, browses, buttons, radio buttons, groupboxes ans check boxes.
>All is build using Express++
>
>To me there is no logical explanation fior this.
>I have 4 Computers to my displosal. Below a bench mark:
>
>Same application, same Xbase++ version, virtualy no data-access.
>Switching processors do not have noticable changes.
>
>Windows 10 Amd Phenon II x4 955 3.2 GHz 12Gb = 14 seconds.
>Windows 10 Intel i7 4810-MQ 2.8Ghz 8Gb = 4 seconds
>Windows 10 AMD 6400 Six core 3.5 GHz 8Gb = 6.5 seconds
>Windows Vista Pentium Dual core CPU E5200 2.5Ghz 4Gb = 4.5 Seconds.  This last PC is 9.5 years old !!.
>
>Regards
>Jack Duijf
>
>-------------------------------------------------------------
>Also a member off the XXP (http://www.xxp.nl)
Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)