Nigel Gomm
Programmer
using the GDI classes in system.app is very very slow on some PCs and i've been unable to see the difference between them and other PCs where it runs normally.
here is a short extract from a coverage log
87.722426,sfribbonbase,sfribbonbase.init,3,c:\program files (x86)\rentman5\classes\sfribbon.vct,5
58.203741,sfgdimeasurestring,init,73,sfgdimeasurestring.fxp,6
0.000156,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
58.203095,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
0.000090,,system.drawing,,system.drawing.fxp,8
58.201506,,system.drawing,,system.drawing.fxp,8
6.573263,xfcdrawing,init,,system.drawing.fxp,9
0.000048,xfcdrawing,init,,system.drawing.fxp,9
28.416191,xfcdrawing,init,,system.drawing.fxp,9
58 seconds just to "WITH _SCREEN.SYSTEM.DRAWING"
and
0.000009,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
0.000012,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
0.000009,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
0.000007,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
14.091992,xfcgdiptoken,init,,system.drawing.fxp,10
0.000039,xfcdrawing,init,,system.drawing.fxp,9
0.000027,,system.drawing,,system.drawing.fxp,8
0.000018,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
0.000013,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
and
28.488308,sfgdimeasurestring,init,86,sfgdimeasurestring.fxp,6
0.000013,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
14.727432,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
0.000207,,system.drawing.drawing2d,,system.drawing.drawing2d.fxp,8
14.197795,,system.drawing.drawing2d,,system.drawing.drawing2d.fxp,8
0.005064,xfcdrawing2d,init,,system.drawing.drawing2d.fxp,9
0.000064,xfcdrawing2d,init,,system.drawing.drawing2d.fxp,9
0.000034,,system.drawing.drawing2d,,system.drawing.drawing2d.fxp,8
0.000013,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
0.000012,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
0.000246,xfcdrawing2d,smoothingmode_access,,system.drawing.drawing2d.fxp,7
13.759443,xfcdrawing2d,smoothingmode_access,,system.drawing.drawing2d.fxp,7
0.000188,xfcdrawing2d,smoothingmode_access,,system.drawing.drawing2d.fxp,7
object creation taking 14 secs.
the one PC i can produce this on is an AZURE VM with windows 10. But i'm having reports from one customer that looks to be the same (but not quite as bad).
It's a 30mb .exe so i increased PROGCACHE in case it's memory and paging - but no change. Built without debug info to reduce size to 22mb but again no change.
the system.app is in the same folder as the .exe and i set default to that folder before the DO SYSTEM.APP (so not it's finding a system.app on a network drive).
Just to emphasize..... all runs well on most PCs where this is installed; just the one AZURE VM and one customer network where it is slow. on the customer's network i have tried removing all AV and can see nothing else that might interfere.
any thoughts ?
nigel
here is a short extract from a coverage log
87.722426,sfribbonbase,sfribbonbase.init,3,c:\program files (x86)\rentman5\classes\sfribbon.vct,5
58.203741,sfgdimeasurestring,init,73,sfgdimeasurestring.fxp,6
0.000156,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
58.203095,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
0.000090,,system.drawing,,system.drawing.fxp,8
58.201506,,system.drawing,,system.drawing.fxp,8
6.573263,xfcdrawing,init,,system.drawing.fxp,9
0.000048,xfcdrawing,init,,system.drawing.fxp,9
28.416191,xfcdrawing,init,,system.drawing.fxp,9
58 seconds just to "WITH _SCREEN.SYSTEM.DRAWING"
and
0.000009,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
0.000012,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
0.000009,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
0.000007,xfcgdiptoken,initknowncolors,,system.drawing.fxp,11
14.091992,xfcgdiptoken,init,,system.drawing.fxp,10
0.000039,xfcdrawing,init,,system.drawing.fxp,9
0.000027,,system.drawing,,system.drawing.fxp,8
0.000018,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
0.000013,xfcsystem,drawing_access,,c:\program files (x86)\rentman5\system.app,7
and
28.488308,sfgdimeasurestring,init,86,sfgdimeasurestring.fxp,6
0.000013,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
14.727432,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
0.000207,,system.drawing.drawing2d,,system.drawing.drawing2d.fxp,8
14.197795,,system.drawing.drawing2d,,system.drawing.drawing2d.fxp,8
0.005064,xfcdrawing2d,init,,system.drawing.drawing2d.fxp,9
0.000064,xfcdrawing2d,init,,system.drawing.drawing2d.fxp,9
0.000034,,system.drawing.drawing2d,,system.drawing.drawing2d.fxp,8
0.000013,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
0.000012,xfcdrawing,drawing2d_access,,system.drawing.fxp,7
0.000246,xfcdrawing2d,smoothingmode_access,,system.drawing.drawing2d.fxp,7
13.759443,xfcdrawing2d,smoothingmode_access,,system.drawing.drawing2d.fxp,7
0.000188,xfcdrawing2d,smoothingmode_access,,system.drawing.drawing2d.fxp,7
object creation taking 14 secs.
the one PC i can produce this on is an AZURE VM with windows 10. But i'm having reports from one customer that looks to be the same (but not quite as bad).
It's a 30mb .exe so i increased PROGCACHE in case it's memory and paging - but no change. Built without debug info to reduce size to 22mb but again no change.
the system.app is in the same folder as the .exe and i set default to that folder before the DO SYSTEM.APP (so not it's finding a system.app on a network drive).
Just to emphasize..... all runs well on most PCs where this is installed; just the one AZURE VM and one customer network where it is slow. on the customer's network i have tried removing all AV and can see nothing else that might interfere.
any thoughts ?
nigel