AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Ladezeiten von Modulen ermitteln

Ein Thema von freimatz · begonnen am 9. Jan 2023 · letzter Beitrag vom 21. Jan 2023
 
TiGü

Registriert seit: 6. Apr 2011
Ort: Berlin
3.073 Beiträge
 
Delphi 10.4 Sydney
 
#4

AW: Ladezeiten von Modulen ermitteln

  Alt 10. Jan 2023, 11:16
Für einen ersten Schuss würde ich den Process Monitor von www.sysinternals.com nehmen und als Filter:

Process Name is DeinProgrammName.exe

Dann haste sowohl absoluten Zeitstempel als auch die Dauer des Ladevorgangs.
Die wahrscheinlich zahlreichen Reg*Key, Reg*Value kann man dann noch exkludieren und erhält wahrscheinlich einen guten Überblick.
Außerdem kann man über den Filter-Dialog oder über die Highlight-Option noch

Duration more than 0.00123 (oder sonstigen Wert) nach großen Zeitfressern suchen.

Beispiel für den Start der BDS.exe, wo ein Vorgang mehr als 0.00001 ms Duration hat (letzte Zahl in einer Zeile):

Code:
12:05:55,4283517   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\winmmbase.dll   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.5845030   0.0011584
12:05:55,4283548   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\winmmbase.dll   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.5845061   0.0012563
12:05:55,4977701   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvPrintPreview280.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.6539214   0.0009348
12:05:55,5570448   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvTimeFrameworkDesign280.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.7131961   0.0009376
12:05:55,5945072   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\fs28.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.7506585   0.0018888
12:05:55,5945082   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\frx28.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.7506595   0.0018197
12:05:55,6445470   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\frxDB28.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.8006983   0.0011249
12:05:55,6445573   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\fsDB28.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.8007086   0.0011690
12:05:55,6700970   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\fsTee28.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.8262483   0.0010374
12:05:55,6701007   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Windows\SysWOW64\frxTee28.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.8262520   0.0011078
12:05:55,7641417   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Program Files (x86)\FixInsight\FixInsight_11.bpl   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.9202930   0.0012905
12:05:55,7679197   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Program Files (x86)\FixInsight\FixInsight.Services.dll   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:09.9240710   0.0009579
12:05:57,5400987   bds.exe   9908   IRP_MJ_CREATE   C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\Borland.Studio.Interop.resources.dll   SUCCESS   Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened   00:00:11.6962500   0.0014711
12:05:57,8008141   bds.exe   9908   IRP_MJ_CREATE   C:\program files (x86)\embarcadero\studio\22.0\SystemResources\dclCloudService280.bpl.mun   PATH NOT FOUND   Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a   00:00:11.9569654   0.0031073
12:05:58,1691016   bds.exe   9908   IRP_MJ_CREATE   C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\Borland.Studio.Refactoring.dll   SUCCESS   Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened   00:00:12.3252529   0.0089969
12:05:58,1937933   bds.exe   9908   IRP_MJ_CREATE   C:\Users\Nachname\AppData\Roaming\DDevExtensions\CompileInterceptorW.dll   SUCCESS   Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened   00:00:12.3499446   0.0138205
12:05:58,2076338   bds.exe   9908   FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION   C:\Users\Nachname\AppData\Roaming\DDevExtensions\CompileInterceptorW.dll   FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READWRITE   00:00:12.3637851   0.0018315
12:05:58,3865149   bds.exe   9908   IRP_MJ_CREATE   \\EinNetzwerkPfad\Nachname\Eigene Dateien\CnWizards\PreDefSymbols.xml   SUCCESS   Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened   00:00:12.5426662   0.0065452
12:05:58,3931059   bds.exe   9908   IRP_MJ_READ   \\EinNetzwerkPfad\Nachname\Eigene Dateien\CnWizards\PreDefSymbols.xml   SUCCESS   Offset: 0, Length: 63.802, Priority: Normal   00:00:12.5492572   0.0017884
12:05:58,3931543   bds.exe   9908   IRP_MJ_READ   \\EinNetzwerkPfad\Nachname\Eigene Dateien\CnWizards\PreDefSymbols.xml   SUCCESS   Offset: 0, Length: 63.802, I/O Flags: Non-cached, Paging I/O, Priority: Normal   00:00:12.5493056   0.0017178
12:05:58,5095431   bds.exe   9908   IRP_MJ_CREATE   \\EinNetzwerkPfad\Nachname\Eigene Dateien\CnWizards\XmlComment.xml   SUCCESS   Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened   00:00:12.6656944   0.0031091
12:05:58,5126929   bds.exe   9908   IRP_MJ_READ   \\EinNetzwerkPfad\Nachname\Eigene Dateien\CnWizards\XmlComment.xml   SUCCESS   Offset: 0, Length: 8.503, Priority: Normal   00:00:12.6688442   0.0012263
12:05:58,5127246   bds.exe   9908   IRP_MJ_READ   \\EinNetzwerkPfad\Nachname\Eigene Dateien\CnWizards\XmlComment.xml   SUCCESS   Offset: 0, Length: 8.503, I/O Flags: Non-cached, Paging I/O, Priority: Normal   00:00:12.6688759   0.0011800
12:05:58,9292682   bds.exe   9908   IRP_MJ_CREATE   C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\Borland.Studio.ToolsAPI.dll   SUCCESS   Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened   00:00:13.0854195   0.0258449
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:16 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz