Jump to content











Photo
- - - - -

App scripts hurting PE


  • Please log in to reply
41 replies to this topic

#1 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 03:41 PM

I can now confirm that we actually have application scripts which hurt PE.
Namely they slow PE down to a crawl.

Up until now i always thought, LiveXps more sluggish behaviour came from the newer basic or core scripts.
But since NaughtyPE shows now the same behaviour, maybe even worst. It clearly comes from the app scripts.

Can't tell yet which script(s) are responsible.

Did anyone else encounter this and already managed to catch the guilty script(s) or at least narrow it down?


:cheers:

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 04:07 PM

I can now confirm that we actually have application scripts which hurt PE.
Namely they slow PE down to a crawl.

Up until now i always thought, LiveXps more sluggish behaviour came from the newer basic or core scripts.
But since NaughtyPE shows now the same behaviour, maybe even worst. It clearly comes from the app scripts.

Can't tell yet which script(s) are responsible.

Did anyone else encounter this and already managed to catch the guilty script(s) or at least narrow it down?


:cheers:

That's the price for having 'universal' scripts.

Compare log of a shortcut calling BuildModel directly:
Run - Processing section: [Add-Shortcut] From file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script]        [Parameter] with parameters: [DE],[#$pSystemRoot#$p\system32\notepad.exe],[Notepad],[-SW:#$pSystemRoot#$p\system32\]        [Success] AddVariables - Added section [Variables] from file [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script] into the local variable list        [Success] IF - File does not exist: [%parse%] evaluated string: [If,NotExistFile,"%parse%",ExtractFile,"%BuildModelScript%","Folder","shortcutParse.exe",%ProjectTemp%]        [Success] ExtractFile - [shortcutParse.exe] to: [%BaseDir%\Temp\nativeEx_barebone_075]        [Ignore] IF - Directory exists: [%BaseDir%\Temp\nativeEx_barebone_075\Shortcuts] evaluated string: [If,NotExistDir,%ProjectTemp%\Shortcuts,DirMake,%ProjectTemp%\Shortcuts]        [Success] AddVariables - Added section [Variables] from file [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script] into the local variable list        [Ignore] IF - File does not exist: [%BaseDir%\Temp\nativeEx_barebone_075\buildModel_err.log] evaluated string: [If,ExistFile,"%ProjectTemp%\buildModel_err.log",FileDelete,"%ProjectTemp%\buildModel_err.log"]        [Ignore] IF - [DE] is not equal to: [1] evaluated string: [If,#1,Equal,1,ShellExecute,Hide,"%parse%","#$q/C:%ProjectInfo%#$q #$q/O:%shcTemp%#$q #$q/A:#1#$c#2#$q"]        [Success] IF - [DE] is not equal to: [1] evaluated string: [If,#1,NotEqual,1,ShellExecute,Hide,"%parse%","#$q/C:%ProjectInfo%#$q #$q/O:%shcTemp%#$q #$q/ST:#1#$q #$q/SE:#2#$q #$q/SL:#3#$q #$q#4#$q"]        [Success] ShellExecute: [Hide] using: [%BaseDir%\Temp\nativeEx_barebone_075\shortcutParse.exe] with parameters: ["/C:%BaseDir%\Workbench\nativeEx_barebone_075\UserData\ProjectInfo.ini" "/O:%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini" "/ST:DE" "/SE:%SystemRoot%\system32\notepad.exe" "/SL:Notepad" "-SW:%SystemRoot%\system32\"]        [Success] IniRead - [%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini] Section [Created] Key [Date] to variable: [%tim%] with value [2009-Jan-06 165838406]        [Success] IniRead - [%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini] Section [Shortcut] Key [shortCutName] to variable: [%nam%] with value [Notepad]        [Success] FileCopy - Copied [%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini] to: [%BaseDir%\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06 165838406.shc]        Run - Processing section: [Add-Shortcut] From file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]              [Parameter] with parameters: [V:\WB\wb#$sdebug\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06#$s165838406.shc]              [Success] AddVariables - Added section [Variables] from file [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script] into the local variable list              Run - Processing section: [shc-model] From file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]                    [Parameter] with parameters: [V:\WB\wb#$sdebug\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06#$s165838406.shc]                    [Ignore] IF - File exists: [%BaseDir%\Target\nativeEx_barebone_075\$ModelRAM\filled] evaluated string: [If,NotExistFile,"%TargetDir%\$ModelRAM\filled",FileCreateBlank,"%TargetDir%\$ModelRAM\filled"]                    [Ignore] IF - File exists: [%BaseDir%\Temp\nativeEx_barebone_075\shortcutWinExp.exe] evaluated string: [If,NotExistFile,"%ProjectTemp%\shortcutWinExp.exe",ExtractFile,"%ActiveShell%","Shortcuts",shortcutWinExp.exe,%ProjectTemp%]                    [Success] ShellExecute: [Hide] using: [%BaseDir%\Temp\nativeEx_barebone_075\shortcutWinExp.exe] with parameters: ["/C:%BaseDir%\Workbench\nativeEx_barebone_075\UserData\ProjectInfo.ini" "/I:%BaseDir%\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06 165838406.shc"]              Run - Processed section [shc-model] in file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]        Run - Processed section [Add-Shortcut] in file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]        [Ignore] IF - File does not exist: [%BaseDir%\Temp\nativeEx_barebone_075\buildModel_err.log] evaluated string: [If,ExistFile,"%ProjectTemp%\buildModel_err.log",ShellExecute,Open,"%ProjectTemp%\buildModel_err.log",""]  Run - Processed section [Add-Shortcut] in file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script]
And here using API:
Run - Processing section: [AddShortcut] From file: [%BaseDir%\Projects\nativeEx_barebone\Basic\Build\api.script]         [Parameter] with parameters: [Desktop],[],[#$pSystemRoot#$p\system32\notepad.exe],[Notepad]         [Info] Create ShortCut Desktop         [Success] StrFormat - converted: [] to variable: [%OptionShortcut%] with result: []         [Ignore] IF - [Desktop] is not equal to: [EditWith] evaluated string: [If,#1,Equal,"EditWith",If,#2,Equal,,Set,#2,"Edit with"]         [Success] ELSE - executing command: [If,#2,Equal,,StrFormat,filename,%Scriptdir%,#2]         [Success] IF - [] is equal to: [] evaluated string: [If,#2,Equal,,StrFormat,filename,%Scriptdir%,#2]         [Success] StrFormat - converted: [%Scriptdir%] to variable: [#2] with result: [Productivity]         [Ignore] IF - [%SystemRoot%\system32\notepad.exe] is not equal to: [] evaluated string: [If,#3,Equal,,Set,#3,"%PE_Programs%\%programFolder%\%programExe%"]         [Success] StrFormat - converted: [#3] to variable: [%CPath%] with result: [%SystemRoot%\system32\]         [Success] StrFormat - converted: [#3] to variable: [%CFilename%] with result: [notepad.exe]         [Ignore] IF - [%SystemRoot%\system32\] is not equal to: [] evaluated string: [If,%CPath%,Equal,,Set,#3,%PE_Programs%\%programFolder%\%CFilename%]         [Success] IF - [] is equal to: [] evaluated string: [If,#5,Equal,,StrFormat,path,#3,%My_Shortcut_FOLDER%]         [Success] StrFormat - converted: [#3] to variable: [%My_Shortcut_FOLDER%] with result: [%SystemRoot%\system32\]         [Ignore] IF - [] is equal to: [] evaluated string: [If,#5,NotEqual,,StrFormat,path,#5\,%My_Shortcut_FOLDER%]         [Ignore] IF - [Notepad] is not equal to: [] evaluated string: [If,#4,Equal,,Set,#4,%ProgramTitle%]         [Ignore] IF - [..] is equal to: [..] evaluated string: [If,".#6#7#8#9.",NotEqual,"..",Run,%API%,ShortcutOptions,#1,#2,#3,#4,#5,#6,#7,#8,#9]         [Success] IF - File exists: [%BaseDir%\Projects\nativeEx_barebone_075\Apps\Translate.ini] evaluated string: [If,ExistFile,"%ProjectDir%\Apps\Translate.ini",Begin]               [Success] IniRead - [%BaseDir%\Projects\nativeEx_barebone_075\Apps\Translate.ini] Section [Config] Key [Mode] to variable: [%Translate%] with value [0]               [Ignore] IF - [0] is not bigger than [0] evaluated string: [If,%Translate%,Bigger,0,Run,%API%,_Translate_%Translate%,#1,#2,#3,#4,#5,#6,#7,#8,#9]               [Success] ELSE - executing command: [Run,%API%,AddShortcut_#1,#1,#2,#3,#4]               Run - Processing section: [AddShortcut_Desktop] From file: [%BaseDir%\Projects\nativeEx_barebone\Basic\Build\api.script]                     [Parameter] with parameters: [Desktop],[Productivity],[#$pSystemRoot#$p\system32\notepad.exe],[Notepad]                     Run - Processing section: [Add-Shortcut] From file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script]                           [Parameter] with parameters: [DE],[#$pSystemRoot#$p\system32\notepad.exe],[Notepad],[-SW:#$pSystemRoot#$p\system32\]                           [Success] AddVariables - Added section [Variables] from file [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script] into the local variable list                           [Success] IF - File does not exist: [%parse%] evaluated string: [If,NotExistFile,"%parse%",ExtractFile,"%BuildModelScript%","Folder","shortcutParse.exe",%ProjectTemp%]                           [Success] ExtractFile - [shortcutParse.exe] to: [%BaseDir%\Temp\nativeEx_barebone_075]                           [Ignore] IF - Directory exists: [%BaseDir%\Temp\nativeEx_barebone_075\Shortcuts] evaluated string: [If,NotExistDir,%ProjectTemp%\Shortcuts,DirMake,%ProjectTemp%\Shortcuts]                           [Success] AddVariables - Added section [Variables] from file [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script] into the local variable list                           [Ignore] IF - File does not exist: [%BaseDir%\Temp\nativeEx_barebone_075\buildModel_err.log] evaluated string: [If,ExistFile,"%ProjectTemp%\buildModel_err.log",FileDelete,"%ProjectTemp%\buildModel_err.log"]                           [Ignore] IF - [DE] is not equal to: [1] evaluated string: [If,#1,Equal,1,ShellExecute,Hide,"%parse%","#$q/C:%ProjectInfo%#$q #$q/O:%shcTemp%#$q #$q/A:#1#$c#2#$q"]                           [Success] IF - [DE] is not equal to: [1] evaluated string: [If,#1,NotEqual,1,ShellExecute,Hide,"%parse%","#$q/C:%ProjectInfo%#$q #$q/O:%shcTemp%#$q #$q/ST:#1#$q #$q/SE:#2#$q #$q/SL:#3#$q #$q#4#$q"]                           [Success] ShellExecute: [Hide] using: [%BaseDir%\Temp\nativeEx_barebone_075\shortcutParse.exe] with parameters: ["/C:%BaseDir%\Workbench\nativeEx_barebone_075\UserData\ProjectInfo.ini" "/O:%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini" "/ST:DE" "/SE:%SystemRoot%\system32\notepad.exe" "/SL:Notepad" "-SW:%SystemRoot%\system32\"]                           [Success] IniRead - [%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini] Section [Created] Key [Date] to variable: [%tim%] with value [2009-Jan-06 165838406]                           [Success] IniRead - [%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini] Section [Shortcut] Key [shortCutName] to variable: [%nam%] with value [Notepad]                           [Success] FileCopy - Copied [%BaseDir%\Temp\nativeEx_barebone_075\shcTemp.ini] to: [%BaseDir%\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06 165838406.shc]                           Run - Processing section: [Add-Shortcut] From file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]                                 [Parameter] with parameters: [V:\WB\wb#$sdebug\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06#$s165838406.shc]                                 [Success] AddVariables - Added section [Variables] from file [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script] into the local variable list                                 Run - Processing section: [shc-model] From file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]                                       [Parameter] with parameters: [V:\WB\wb#$sdebug\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06#$s165838406.shc]                                       [Ignore] IF - File exists: [%BaseDir%\Target\nativeEx_barebone_075\$ModelRAM\filled] evaluated string: [If,NotExistFile,"%TargetDir%\$ModelRAM\filled",FileCreateBlank,"%TargetDir%\$ModelRAM\filled"]                                       [Ignore] IF - File exists: [%BaseDir%\Temp\nativeEx_barebone_075\shortcutWinExp.exe] evaluated string: [If,NotExistFile,"%ProjectTemp%\shortcutWinExp.exe",ExtractFile,"%ActiveShell%","Shortcuts",shortcutWinExp.exe,%ProjectTemp%]                                       [Success] ShellExecute: [Hide] using: [%BaseDir%\Temp\nativeEx_barebone_075\shortcutWinExp.exe] with parameters: ["/C:%BaseDir%\Workbench\nativeEx_barebone_075\UserData\ProjectInfo.ini" "/I:%BaseDir%\Temp\nativeEx_barebone_075\Shortcuts\Notepad_2009-Jan-06 165838406.shc"]                                 Run - Processed section [shc-model] in file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]                           Run - Processed section [Add-Shortcut] in file: [%BaseDir%\Projects\nativeEx_Core\Basic\Shells\Explorer.Script]                           [Ignore] IF - File does not exist: [%BaseDir%\Temp\nativeEx_barebone_075\buildModel_err.log] evaluated string: [If,ExistFile,"%ProjectTemp%\buildModel_err.log",ShellExecute,Open,"%ProjectTemp%\buildModel_err.log",""]                     Run - Processed section [Add-Shortcut] in file: [%BaseDir%\Projects\nativeEx_core\Basic\Build\4 - buildModel.Script]               Run - Processed section [AddShortcut_Desktop] in file: [%BaseDir%\Projects\nativeEx_barebone\Basic\Build\api.script]         [Success] [End]         [Ignore] ELSE - [Run,%API%,AddShortcut_#1,#1,#2,#3,#4]   Run - Processed section [AddShortcut] in file: [%BaseDir%\Projects\nativeEx_barebone\Basic\Build\api.script]

Peter

#3 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 06 January 2009 - 04:41 PM

On my opinion, I don't think that the fact of using universal scripts is the main factor of slowdown.

What needs improvement in terms of speed optimizations are the functions that are called.

Often used functions like unpack, create shortcut and file associate could be made quite faster if they are cached or written to a text file/cache folder instead of applied directly to the target OS.

Also, if developers keep app scripts simple, things should speed up.


btw: Peter, would it be possible to break some of the lines on your post to make things readable?

Thank you! :cheers:

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 04:48 PM

btw: Peter, would it be possible to break some of the lines on your post to make things readable?

Maybe that is a 'feature' of the new server. I put the code into a codebox like a always did with 'much and large' code..

And in former times that caused a window with horizontal and vertical scrollbars.

Now there is only a vertical scrollbar in the codebox window.
And the horizontal one is on the page :cheers:

Peter

#5 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 04:51 PM

Little misunderstanding.
I was not talking about the build time, though it was impressive with way over an hour! :cheers:
No i'm talking about the running PE.
Even though no new services or application autorun, memory consumption has about doubled, HDD access happens only after a thinking pause, and the CPU is already 15%-30% stressed when only the desktop is shown!

My best guess is that some script royaly screwed up the registry! ;)

:cheers:

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 04:54 PM

Now there is only a vertical scrollbar in the codebox window.

I see both in safe skin. Everything looks fine.

:cheers:

#7 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 06 January 2009 - 05:42 PM

I see both in safe skin. Everything looks fine.

:cheers:


With which browser? ;)

jaclaz

#8 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 06:42 PM

Little misunderstanding.
I was not talking about the build time, though it was impressive with way over an hour! :cheers:
No i'm talking about the running PE.
Even though no new services or application autorun, memory consumption has about doubled, HDD access happens only after a thinking pause, and the CPU is already 15%-30% stressed when only the desktop is shown!

My best guess is that some script royaly screwed up the registry! ;)

:cheers:

Sorry for my misunderstanding.

This is a REALLY INTERESTING question!

BTW: My first idea has been: ALL the 'minimize space' fans, using excessively UPX and *.sy_ drivers etc.
But it does not matter whether I use 200 or 600 MB of a 650 MB CD.
And If my USB stick has only 256 MB, I buy for 5 € or 5 $ a new one with 1 GB.

Peter

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 06:59 PM

BTW: My first idea has been: ALL the 'minimize space' fans, using excessively UPX and *.sy_ drivers etc.

Yes i love it too, when i see a 1MB exe in PE and discover upon click that it eats up 43MB of RAM! :cheers:

;)

#10 sanbarrow

sanbarrow

    Silver Member

  • Developer
  • 788 posts
  • Location:Germany - Sauerland

Posted 06 January 2009 - 07:30 PM

I can now confirm that we actually have application scripts which hurt PE.
Namely they slow PE down to a crawl.



... interesting ... another argument for LODR-packs :cheers:

#11 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 06 January 2009 - 08:10 PM

Medevil,

Don't know what's gone wrong for you. I haven't noticed the slowdown or cpu usage you mention. Hopefully you'll find what's the cause.

Regards,
Galapo.

#12 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 08:16 PM

That points to: In Medevil's 'Test PE' are different functionalities than in Galapo's 'Test PE'
(And as far as I understood Medevil, that are not WB74 <> WB75 beta ?. It looks like some new app scripts or app script functionality)
BTW: Why not look at driver packages too? Some HWPNP in 'RunOnce'? ...


To find the differences could help a lot ...


Peter

#13 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 08:33 PM

I did a download in december of LiveXP and though it was nowhere near as catastrophic as my test-build, it reacted still noticable more sluggish than NaughtyPE. Especialy the thinking pause before accessing any drive was there.

I used a complete download, since i wanted to check for new app scripts available for possible NaughtyPE use.

If there is nothing like that in Galapos version, it eighter may have been fixed already (Lancelot is a busy bee! ;)) or results from my xpsp1 host system, but i thought we were long past this.

:cheers:

PS: 136MB 'windows' folder and 526MB 'Program files' folder in the Test build. That's all the apps scripts i could find. :cheers:
Half of them are undelete programs! :cheers::cheers:

#14 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 08:41 PM

It looks like some new app scripts or app script functionality)
BTW: Why not look at driver packages too? Some HWPNP in 'RunOnce'? ...

Only app scripts were added to a default NaughtyPE. All driver and basics scripts were unchanged.
All errors in the log from new scripts were fixed by replacing api commands with non-api ones.

:cheers:

#15 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 08:42 PM

... interesting ... another argument for LODR-packs :cheers:

;) Will LODR-packs prevent Registry writes, or how should they help?

:cheers:

#16 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 08:45 PM

PS: 136MB 'windows' folder and 526MB 'Program files' folder in the Test build. That's all the apps scripts i could find. :cheers:
Half of them are undelete programs! ;) :cheers:

As already written at a different place:

Strange!

That reminds me a bit on the ideas I mentioned in my topic about 'LiveXP factory settings' ...

Here it looks like the old Roman 'sed ut utrimque fiat, major part meliorem vicit'

[English]As usually, the bigger party won against the better one [/English]

Peter


Peter

#17 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 08:49 PM

:cheers: Will LODR-packs prevent Registry writes, or how should they help?

;)

No, there is no :cheers:
But as long as you do not need the package, it does not exist inside your PE.

And therefore: No registry 'overload' possible.

Peter

#18 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 06 January 2009 - 09:25 PM

The registry database will work fast regardless it has one megabyte or 10 megabytes worth of data.

There must surely be other reason that can be pinpointed as the respective app script gets identified but I don't know what MedEvil is using so it's hard to guess.

Would you please a post a log?

-------

The ISO size might interfer if it slows the read access times and forces the CD to read files that are placed in very distant locations of the CD and the front and back movement might add some extra delay miliseconds if the OS is not optimized.

However, if you're running from an emulator this wouldn't surely apply so I'd point a finger to the hardware recognition software and drivers or services.

On later versions of VistaPE this caused a huge delay on the time it takes to start inside the emulator but working quick on real hardware.

:cheers:

#19 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 09:42 PM

As already written at a different place:

Refers this to the lot of undelete scripts or to the part that i threw all scripts into the same build for checking them out?

:cheers:

#20 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 09:47 PM

The registry database will work fast regardless it has one megabyte or 10 megabytes worth of data.

That's correct.
(On the other hand I remember that I usually reinstall my system once a year. After reinstall the previously 'endless' boot time is going down do some seconds.
And then, from week to week, it is increasing again ...)

But I think that you agree that there may be a difference between one and twenty 'RunOnce', ore between ten or two hundred started services, or ...

Therefore sanbarrow's idea to avoid ANY unnnecessary activity, will never increase boot time. It only can decrease it. Whether time is clearly measurable or not, is a different question, but it it will DECREASE!

Peter

#21 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 09:59 PM

There must surely be other reason that can be pinpointed as the respective app script gets identified but I don't know what MedEvil is using so it's hard to guess.

Would you please a post a log?

Since the build took almost two hours, i'm a bit reluctant to do it over just for a log.
But on the next build i will eighter post a log, if the problem persists or the names of the scripts that were sorted out, if it does not.

:cheers:

#22 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2009 - 10:01 PM

Refers this to the lot of undelete scripts or to the part that i threw all scripts into the same build for checking them out?

Maybe to both. It is necessary, on EVERY change, addition, update, ... of a project to think again about factory settings.
And what yesterday has been ok, can become today, just after one new script obsolete.

Peter

#23 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 10:11 PM

That's correct.
(On the other hand I remember that I usually reinstall my system once a year. After reinstall the previously 'endless' boot time is going down do some seconds.
And then, from week to week, it is increasing again ...)

:cheers: How do you do that? The last time i had to reinstall XP was because my HDD said bye bye and that too quickly! ;)

But I think that you agree that there may be a difference between one and twenty 'RunOnce', ore between ten or two hundred started services, or ...

In theory right, but why would anyone start a service or make a runonce entry, if it wasn't needed for the program?


:cheers:

PS: I noticed, i did change one other script too. I replaced the old autoCompress.script with a new one.
Please someone tell me that the new one does not require WB075.

#24 sanbarrow

sanbarrow

    Silver Member

  • Developer
  • 788 posts
  • Location:Germany - Sauerland

Posted 06 January 2009 - 10:25 PM

In theory right, but why would anyone start a service or make a runonce entry, if it wasn't needed for the program?


Just because it is common practice.
Programmers think that users are to dumb to start a service manually - so they let Windows load it at startup.
Or they think user would not tolerate it if their app starts with a little delay because it starts its services on demand only.

#25 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 January 2009 - 10:32 PM

Sorry sanbarrow, but the programers you're talking about here, are we, the script developers!
So i think your analysis does not quite fit.

:cheers:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users