
[SOLVED] Very slow editor - independent of settings
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
Does not work for me - no difference 

Re: Very slow editor - independent of settings
I can compile the IDE with speed measurements. Here is an example that is displayed when the IDE is closed:
https://www.dreisiebner.at/temp/PB_Pure ... filing.png
I can insert the debug output automatically. The IDE will of course be slower, but maybe you can find something with it.
Here is a ZIP archive with two IDEs PB v6.12 64-bit Asm-BE. The 'PureBasic.exe' uses only three files for the outputs:
PureBasic.pb
Preferences.pb
ScintillaHighlighting.pb
The 'PureBasic_ALL.exe' uses all files:
https://www.dreisiebner.at/temp/PB_Pure ... filing.zip
Since there are no modules, I have used the file name in the 'Module' column instead. Threads are not automatically recognized. The list can be copied to the clipboard with Ctrl+Shift+C.
Peter
https://www.dreisiebner.at/temp/PB_Pure ... filing.png
I can insert the debug output automatically. The IDE will of course be slower, but maybe you can find something with it.
Here is a ZIP archive with two IDEs PB v6.12 64-bit Asm-BE. The 'PureBasic.exe' uses only three files for the outputs:
PureBasic.pb
Preferences.pb
ScintillaHighlighting.pb
The 'PureBasic_ALL.exe' uses all files:
https://www.dreisiebner.at/temp/PB_Pure ... filing.zip
Since there are no modules, I have used the file name in the 'Module' column instead. Threads are not automatically recognized. The list can be copied to the clipboard with Ctrl+Shift+C.
Peter
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
Hi Peter,
many thanks for your little masterpiece
. I'm not sure how to interpret the results, but maybe you can help.
Test 1: Purebasic.exe & open preferences
Test 2: Purebasic_ALL.exe & open preferences
Test 3: Purebasic_ALL.exe & open a project file (.pb, 297kb)
I can only see, that the procedure IsPreferenceChanged (Preferences.pb) takes very long in test 1 & 2, additional DispatchEvent (UserInterface.pb) in test 2.
In test 3 LoadSourceFile (SourceManagement.pb), HighlightingEngine (HighlightingEngine.pb), HighlightCallback &
ChangeActiveLine (ScintillaHighlighting.pb) are very slow.
[ For better visibility (e.g. when using a spreadsheet) I changed the TABs to ; ]
many thanks for your little masterpiece

Test 1: Purebasic.exe & open preferences
Test 2: Purebasic_ALL.exe & open preferences
Test 3: Purebasic_ALL.exe & open a project file (.pb, 297kb)
I can only see, that the procedure IsPreferenceChanged (Preferences.pb) takes very long in test 1 & 2, additional DispatchEvent (UserInterface.pb) in test 2.
In test 3 LoadSourceFile (SourceManagement.pb), HighlightingEngine (HighlightingEngine.pb), HighlightCallback &
ChangeActiveLine (ScintillaHighlighting.pb) are very slow.
[ For better visibility (e.g. when using a spreadsheet) I changed the TABs to ; ]
Code: Select all
Test 1: Purebasic.exe & open preferences:
====================================
Module;Procedure;Order;Gross (ms);Net (ms);Calls;Ø Gross (ms);Ø Net (ms)
PureBasic.pb;CloseSplashScreen;24;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;CalculateHighlightingColors;2;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;GetLinesCount;26;0,00;0,00;2;0,00;0,00
ScintillaHighlighting.pb;IsFoldPoint;27;0,01;0,01;2;0,00;0,00
Preferences.pb;ApplyPreferences;34;29,01;0,01;1;29,01;0,01
ScintillaHighlighting.pb;HideEditorGadget;12;0,02;0,02;2;0,01;0,01
ScintillaHighlighting.pb;BuildIndentVT;3;0,03;0,03;1;0,03;0,03
ScintillaHighlighting.pb;HideLineNumbers;9;9,86;0,04;4;2,46;0,01
Preferences.pb;SaveDialogPosition;38;0,04;0,04;18;0,00;0,00
Preferences.pb;LoadDialogPosition;4;0,04;0,04;18;0,00;0,00
ScintillaHighlighting.pb;CountCharacters;14;0,05;0,05;23;0,00;0,00
Preferences.pb;UpdatePreferenceSyntaxColor;30;14,67;0,07;38;0,39;0,00
ScintillaHighlighting.pb;SelectAll;35;0,22;0,22;1;0,22;0,22
ScintillaHighlighting.pb;ApplyWordChars;6;0,77;0,77;1;0,77;0,77
ScintillaHighlighting.pb;UpdateSelectionRepeat;17;0,88;0,88;6;0,15;0,15
Preferences.pb;SavePreferences;37;1,41;1,37;1;1,41;1,37
ScintillaHighlighting.pb;IsInsideASMBlock;20;1,71;1,71;4;0,43;0,43
Preferences.pb;LoadPreferences;1;1,79;1,71;1;1,79;1,71
ScintillaHighlighting.pb;SetSourceModified;28;2,91;2,10;1;2,91;2,10
ScintillaHighlighting.pb;SendEditorFontMessage;8;2,95;2,95;2;1,47;1,47
ScintillaHighlighting.pb;GetLine;23;3,50;3,50;8;0,44;0,44
ScintillaHighlighting.pb;GetSourceModified;19;4,31;4,31;6;0,72;0,72
ScintillaHighlighting.pb;UpdateBraceHighlight;21;13,98;7,00;8;1,75;0,87
ScintillaHighlighting.pb;UpdateFolding;15;7,42;7,42;3;2,48;2,48
ScintillaHighlighting.pb;GetContinuationLine;16;9,47;9,46;6;1,58;1,58
ScintillaHighlighting.pb;UpdateLineNumbers;10;9,82;9,82;4;2,46;2,46
ScintillaHighlighting.pb;UpdateKeywordHighlight;22;22,83;14,09;4;5,71;3,52
ScintillaHighlighting.pb;ResizeEditorGadget;11;14,98;14,98;51;0,29;0,29
Preferences.pb;UpdateImageColorGadget;31;16,23;16,23;41;0,40;0,40
ScintillaHighlighting.pb;UpdateHighlighting;25;23,43;17,62;1;23,43;17,62
ScintillaHighlighting.pb;GetCursorPosition;13;26,77;26,74;13;2,06;2,06
ScintillaHighlighting.pb;SetBackgroundColor;18;27,28;27,28;2;13,64;13,64
PureBasic.pb;ShutdownIDE;36;57,89;56,48;1;57,89;56,48
ScintillaHighlighting.pb;CreateEditorGadget;5;174,84;99,00;1;174,84;99,00
Preferences.pb;PreferencesWindowEvents;32;5.915,10;108,60;271;21,83;0,40
ScintillaHighlighting.pb;SetUpHighlightingColors;7;138,30;128,56;2;69,15;64,28
Preferences.pb;OpenPreferencesWindow;29;1.683,78;1.667,49;1;1.683,78;1.667,49
Preferences.pb;IsPreferenceChanged;33;5.806,49;5.806,49;165;35,19;35,19
Code: Select all
Test 2: Purebasic_ALL.exe & open preferences:
=========================================
Module;Procedure;Order;Gross (ms);Net (ms);Calls;Ø Gross (ms);Ø Net (ms)
Language.pb;LanguagePattern;83;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetExplorerName;82;0,00;0,00;1;0,00;0,00
Templates.pb;Template_PreferenceStart;222;0,00;0,00;1;0,00;0,00
HelpTool.pb;Help_PreferenceStart;221;0,00;0,00;1;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceStart;220;0,00;0,00;1;0,00;0,00
ProcedureBrowser.pb;ProcedureBrowser_PreferenceStart;219;0,00;0,00;1;0,00;0,00
Misc.pb;StrByteSize;217;0,00;0,00;1;0,00;0,00
EditHistory.pb;DetectCrashedHistorySession;184;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ReplaceImage;124;0,00;0,00;1;0,00;0,00
Misc.pb;GetUniqueID;114;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;AddProjectBuildMenuEntries;57;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;Xml_SingleLine;55;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;CalculateHighlightingColors;13;0,00;0,00;1;0,00;0,00
WindowsHelp.pb;ClosePlatformSDKWindow;254;0,00;0,00;1;0,00;0,00
EditHistory.pb;HistoryShutdownEvents;237;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;CloseProject;236;0,00;0,00;1;0,00;0,00
Explorer.pb;Explorer_PreferenceStart;218;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;GetLinesCount;195;0,00;0,00;2;0,00;0,00
EditHistory.pb;HistoryEvent;172;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;LinkSourceToProject;166;0,00;0,00;1;0,00;0,00
UserInterface.pb;ErrorLog_Show;135;0,00;0,00;2;0,00;0,00
UserInterface.pb;CustomizeTabBarGadget;65;0,00;0,00;1;0,00;0,00
VariableViewer.pb;VariableViewer_OptionName;25;0,00;0,00;2;0,00;0,00
AsciiTable.pb;AsciiTable_PreferenceLoad;20;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetButtonBackgroundColor;5;0,00;0,00;1;0,00;0,00
EditHistory.pb;HistoryCompilerLoaded;187;0,00;0,00;1;0,00;0,00
HighlightingFunctions.pb;IsCommentOrString;178;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;CountTabBarGadgetItems;168;0,00;0,00;1;0,00;0,00
IDEDebugger.pb;IsDebuggedFile;159;0,00;0,00;2;0,00;0,00
TabBarGadget.pbi;TabBarGadget_SelectItem;131;0,00;0,00;3;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ItemID;123;0,00;0,00;4;0,00;0,00
ProjectManagement.pb;AddProjectDefaultMenuEntries;56;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;GetSection;54;0,00;0,00;1;0,00;0,00
RecentFiles.pb;RecentFiles_EntryString;52;0,64;0,00;2;0,32;0,00
CompilerInterface.pb;SortCompilers;27;0,00;0,00;1;0,00;0,00
PureBasic.pb;CloseSplashScreen;181;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;GetCurrentLine;179;1,43;0,01;1;1,43;0,01
AddTools.pb;AddTools_Execute;171;0,01;0,01;3;0,00;0,00
HighlightingFunctions.pb;GetWordBoundary;164;0,01;0,01;3;0,00;0,00
WindowsExtensions.pb;ZeroMemory;151;0,01;0,01;3;0,00;0,00
CompilerWindow.pb;GetActiveCompileTarget;61;0,01;0,01;3;0,00;0,00
AddTools.pb;AddTools_AddMenuEntries;58;0,01;0,01;1;0,01;0,01
Explorer.pb;Explorer_PreferenceLoad;21;0,01;0,01;1;0,01;0,01
AsciiTable.pb;AsciiTable_PreferenceSave;243;0,01;0,01;1;0,01;0,01
FileSystem.pb;CreateRelativePath;208;0,01;0,01;1;0,01;0,01
VariableViewer.pb;UpdateVariableViewer;158;0,01;0,01;3;0,00;0,00
SourceParser.pb;FreeSourceItems;150;0,01;0,01;5;0,00;0,00
WindowsExtensions.pb;GetListViewScroll;128;0,01;0,01;3;0,00;0,00
SourceManagement.pb;SetupFileMonitor;111;0,01;0,01;1;0,01;0,01
Issues.pb;UpdateIssueList;154;0,01;0,01;3;0,00;0,00
AutoComplete.pb;AutoComplete_Close;129;0,01;0,01;2;0,00;0,00
EditHistory.pb;StartHistorySession;112;0,01;0,01;1;0,01;0,01
WindowsMisc.pb;OSEndCode;253;0,01;0,01;1;0,01;0,01
SourceManagement.pb;CheckSourceSaved;234;0,17;0,01;1;0,17;0,01
TabBarGadget.pbi;TabBarGadget_DrawButton;202;0,01;0,01;1;0,01;0,01
SourceManagement.pb;FileMonitorEvent;110;0,01;0,01;2;0,00;0,00
Issues.pb;InitIssueList;18;0,01;0,01;1;0,01;0,01
Templates.pb;Template_PreferenceSave;248;0,16;0,01;1;0,16;0,01
VariableViewer.pb;VariableViewer_PreferenceSave;247;0,01;0,01;1;0,01;0,01
Explorer.pb;Explorer_PreferenceSave;244;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;ApplyFoldingInformation;199;0,01;0,01;1;0,01;0,01
WindowsMisc.pb;AutoComplete_SetFocusCallback;107;0,01;0,01;1;0,01;0,01
FileSystem.pb;ResolveRelativePath;34;0,01;0,01;1;0,01;0,01
VariableViewer.pb;VariableViewer_PreferenceLoad;24;0,01;0,01;1;0,01;0,01
ProcedureBrowser.pb;ProcedureBrowser_PreferenceLoad;23;0,01;0,01;1;0,01;0,01
ScintillaHighlighting.pb;IsFoldPoint;196;0,01;0,01;2;0,01;0,01
UserInterface.pb;StartupCheckScreenReader;182;0,02;0,01;1;0,02;0,01
TabBarGadget.pbi;TabBarGadget_ColorMinus;139;0,01;0,01;14;0,00;0,00
FileSystem.pb;IsEqualFile;212;0,01;0,01;1;0,01;0,01
WindowsExtensions.pb;IsWindowMaximized;87;0,01;0,01;11;0,00;0,00
WindowsMisc.pb;ToolsPanel_ApplyColors;75;0,01;0,01;2;0,01;0,01
ProcedureBrowser.pb;ProcedureBrowser_PreferenceSave;246;0,01;0,01;1;0,01;0,01
Preferences.pb;ApplyPreferences;231;50,81;0,01;1;50,81;0,01
WindowsMisc.pb;IsScreenReaderActive;183;0,01;0,01;1;0,01;0,01
WindowsExtensions.pb;IsWindowMinimized;88;0,01;0,01;11;0,00;0,00
Misc.pb;OptionalImageID;81;0,01;0,01;11;0,00;0,00
IDEDebugger.pb;GetDebuggerForFile;62;0,01;0,01;3;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Timer;1;0,01;0,01;1;0,01;0,01
SourceManagement.pb;UpdateSourceStatus;169;1,22;0,01;3;0,41;0,00
HighlightingEngine.pb;HighlightingEngine;197;0,01;0,01;1;0,01;0,01
TabBarGadget.pbi;TabBarGadget_PostUpdate;125;0,01;0,01;4;0,00;0,00
ProcedureBrowser.pb;ProcedureBrowser_EventHandler;105;0,01;0,01;11;0,00;0,00
FileSystem.pb;UniqueFilename;35;0,01;0,01;6;0,00;0,00
IDEMisc.pb;DeleteRegisteredFiles;251;0,01;0,01;1;0,01;0,01
HighlightingEngine.pb;BuildCustomKeywordTable;28;19,11;0,01;1;19,11;0,01
ToolbarManagement.pb;ConvertToolbarIconName;19;0,02;0,02;23;0,00;0,00
HighlightingEngine.pb;IsBasicKeyword;15;0,02;0,02;15;0,00;0,00
HighlightingFunctions.pb;FindEnclosingFunction;163;0,03;0,02;3;0,01;0,01
SourceParser.pb;SortParserData;127;0,02;0,02;3;0,01;0,01
WindowsMisc.pb;RunOnce_Startup;29;0,02;0,02;1;0,02;0,02
WindowsMisc.pb;AutoComplete_FocusProc;239;0,02;0,02;2;0,01;0,01
TabBarGadget.pbi;TabBarGadget_ItemLength;136;0,02;0,02;13;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ColorPlus;138;0,02;0,02;27;0,00;0,00
UserInterface.pb;RealtimeSizeWindowEventHandler;109;3,23;0,02;4;0,81;0,01
AddHelpFiles.pb;AddHelpFiles_Init;43;0,02;0,02;1;0,02;0,02
UpdateCheck.pb;CheckForUpdatesSchedule;200;0,02;0,02;1;0,02;0,02
SourceParser.pb;ScanBuffer;149;0,03;0,02;3;0,01;0,01
TabBarGadget.pbi;TabBarGadget_DrawCross;141;0,02;0,02;13;0,00;0,00
WindowsExtensions.pb;GetPanelHeight;89;0,02;0,02;13;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Layout;73;0,02;0,02;22;0,00;0,00
SourceManagement.pb;CheckAllSourcesSaved;233;14,01;0,02;1;14,01;0,02
TabBarGadget.pbi;TabBarGadget_MouseIn;201;0,02;0,02;9;0,00;0,00
WindowsExtensions.pb;GetPanelWidth;90;0,02;0,02;13;0,00;0,00
WindowsMisc.pb;LoadEditorFonts;45;0,02;0,02;1;0,02;0,02
EditHistory.pb;EndHistorySession;240;0,02;0,02;1;0,02;0,02
UserInterface.pb;MainMenuEvent;203;1.596,04;0,02;1;1.596,04;0,02
ToolsPanel.pb;ToolsPanel_CheckAutoHide;180;0,02;0,02;10;0,00;0,00
TabBarGadget.pbi;SetTabBarGadgetState;130;0,04;0,03;3;0,01;0,01
Language.pb;LanguageStringAddress;99;0,04;0,03;16;0,00;0,00
ScintillaHighlighting.pb;CountCharacters;146;0,03;0,03;11;0,00;0,00
CompilerInterface.pb;WaitForCompilerReady;185;413,56;0,03;1;413,56;0,03
TabBarGadget.pbi;AddTabBarGadgetItem;122;0,04;0,03;1;0,04;0,03
ScintillaHighlighting.pb;BuildIndentVT;16;0,03;0,03;1;0,03;0,03
ColorPicker.pb;ColorPicker_PreferenceLoad;22;0,04;0,04;1;0,04;0,04
SourceParser.pb;BuildFoldingVT;14;0,05;0,04;1;0,05;0,04
UserInterface.pb;ErrorLog_SyncState;134;1,87;0,04;2;0,94;0,02
ColorPicker.pb;ColorPicker_PreferenceSave;245;0,04;0,04;1;0,04;0,04
IDEDebugger.pb;UpdateErrorLogMenuState;64;2,63;0,04;5;0,53;0,01
SourceParser.pb;FreeSourceItemArray;148;0,12;0,04;3;0,04;0,01
WindowsExtensions.pb;GetPanelItemID;78;0,04;0,04;1;0,04;0,04
Preferences.pb;LoadDialogPosition;17;0,04;0,04;18;0,00;0,00
Preferences.pb;SaveDialogPosition;242;0,04;0,04;18;0,00;0,00
HighlightingFunctions.pb;QuickHelpFromLine;161;8,62;0,05;3;2,87;0,02
TabBarGadget.pbi;TabBarGadget_MaxLength;70;0,05;0,05;44;0,00;0,00
ScintillaHighlighting.pb;HideEditorGadget;143;0,05;0,05;2;0,03;0,03
Macro.pb;ToAscii;116;0,05;0,05;11;0,00;0,00
ThemeManagement.pb;Theme_Close;41;0,05;0,05;4;0,01;0,01
ShortcutManagement.pb;BuildShortcutNamesTable;31;0,11;0,05;1;0,11;0,05
ScintillaHighlighting.pb;HideLineNumbers;120;6,95;0,05;4;1,74;0,01
Templates.pb;Template_PreferenceLoad;26;0,06;0,06;1;0,06;0,06
AddTools.pb;AddTools_Init;42;0,07;0,07;1;0,07;0,07
HelpTool.pb;Help_PreferenceChanged;229;0,08;0,08;165;0,00;0,00
CompilerWindow.pb;CompilerReady;186;413,53;0,08;1;413,53;0,08
Templates.pb;Template_PreferenceChanged;230;0,09;0,09;165;0,00;0,00
Preferences.pb;UpdatePreferenceSyntaxColor;215;12,71;0,09;38;0,33;0,00
ToolbarManagement.pb;ToolbarMenuImage;48;0,09;0,09;122;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceChanged;228;0,10;0,10;165;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ItemLayout;72;0,11;0,11;35;0,00;0,00
TabBarGadget.pbi;UpdateTabBarGadget;67;3,57;0,11;11;0,32;0,01
ProcedureBrowser.pb;ProcedureBrowser_PreferenceChanged;227;0,12;0,12;165;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Callback;93;7,07;0,13;12;0,59;0,01
WindowsMisc.pb;CreateSYSTEMMenu;98;0,18;0,14;1;0,18;0,14
Explorer.pb;Explorer_PreferenceChanged;226;0,14;0,14;165;0,00;0,00
UserInterface.pb;CreateIDEPopupMenu;80;0,35;0,15;1;0,35;0,15
ShortcutManagement.pb;GetBaseKeyIndex;50;0,15;0,15;250;0,00;0,00
Templates.pb;Template_Save;249;0,15;0,15;1;0,15;0,15
CompilerInterface.pb;CompilerCleanup;252;0,16;0,16;1;0,16;0,16
ToolbarManagement.pb;InitToolbar;6;0,16;0,16;1;0,16;0,16
ZipManagement.pb;ScanZip;38;0,16;0,16;4;0,04;0,04
WindowsMisc.pb;GetWindowMetrics;96;0,41;0,23;1;0,41;0,23
Language.pb;CollectLanguageInfo;206;1,91;0,24;1;1,91;0,24
ThemeManagement.pb;LoadTheme;36;10,73;0,28;1;10,73;0,28
ShortcutManagement.pb;ShortcutMenuItem;47;0,79;0,30;127;0,01;0,00
WindowsMisc.pb;UpdateToolbarView;85;5,07;0,34;1;5,07;0,34
UserInterface.pb;UpdateMenuStates;59;24,99;0,34;3;8,33;0,11
TabBarGadget.pbi;TabBarGadget_DrawItem;137;0,92;0,39;13;0,07;0,03
WindowsMisc.pb;UpdateRegistryKey;4;0,46;0,46;6;0,08;0,08
TabBarGadget.pbi;TabBarGadget_DrawText;140;0,47;0,47;13;0,04;0,04
ThemeManagement.pb;FreePrefsThemeList;232;0,47;0,47;1;0,47;0,47
TabBarGadget.pbi;TabBarGadget_Examine_Editor;95;0,48;0,48;9;0,05;0,05
TabBarGadget.pbi;TabBarGadget_Draw;74;1,49;0,58;22;0,07;0,03
ShortcutManagement.pb;GetShortcutText;49;0,95;0,63;250;0,00;0,00
ProjectManagement.pb;ProjectName;53;0,63;0,63;1;0,63;0,63
WindowsMisc.pb;OSStartupCode;3;1,14;0,67;1;1,14;0,67
UserInterface.pb;EventLoopCallback;104;0,73;0,73;654;0,00;0,00
ProcedureBrowser.pb;ProcedureBrowser_DestroyFunction;238;0,78;0,78;1;0,78;0,78
IDEDebugger.pb;SetDebuggerMenuStates;60;8,38;0,87;3;2,79;0,29
ScintillaHighlighting.pb;IsInsideASMBlock;173;0,88;0,88;1;0,88;0,88
UserInterface.pb;ErrorLog_Refresh;133;0,92;0,92;2;0,46;0,46
ZipManagement.pb;ExtractZip;39;1,00;1,00;308;0,00;0,00
ShortcutManagement.pb;CreateKeyboardShortcuts;100;1,00;1,00;2;0,50;0,50
Preferences.pb;LoadPreferences;12;20,43;1,04;1;20,43;1,04
WindowsExtensions.pb;StartGadgetFlickerFix;155;1,06;1,06;3;0,35;0,35
HighlightingFunctions.pb;CheckStringComment;176;1,97;1,07;1;1,97;1,07
ScintillaHighlighting.pb;UpdateBraceHighlight;174;2,25;1,13;2;1,13;0,56
Preferences.pb;SavePreferences;241;1,47;1,19;1;1,47;1,19
UserInterface.pb;UpdateMainWindowTitle;132;1,21;1,20;2;0,60;0,60
ToolsPanel.pb;ToolsPanel_CreateFake_Windows;77;1,21;1,21;1;1,21;1,21
SourceManagement.pb;NewSource;113;325,93;1,28;1;325,93;1,28
WindowsExtensions.pb;SetListViewScroll;156;1,29;1,29;3;0,43;0,43
TabBarGadget.pbi;TabBarGadget_StartDrawing;68;1,29;1,29;23;0,06;0,06
ScintillaHighlighting.pb;GetLine;177;1,38;1,38;2;0,69;0,69
WindowsExtensions.pb;StopGadgetFlickerFix;157;1,40;1,40;3;0,47;0,47
ScintillaHighlighting.pb;UpdateSelectionRepeat;165;1,42;1,42;3;0,47;0,47
Misc.pb;EnsureWindowOnDesktop;108;1,49;1,49;2;0,74;0,74
HighlightingEngine.pb;InitSyntaxCheckArrays;7;22,09;1,52;2;11,05;0,76
Language.pb;LoadLanguage;30;1,69;1,58;1;1,69;1,58
Language.pb;GetLanguageInfo;207;1,67;1,67;17;0,10;0,10
TabBarGadget.pbi;TabBarGadget_Update;69;1,99;1,68;22;0,09;0,08
ScintillaHighlighting.pb;SetSourceModified;198;2,36;1,74;1;2,36;1,74
Common.pb;Max;205;1,82;1,82;5.426;0,00;0,00
TabBarGadget.pbi;TabBarGadget_StopDrawing;71;1,86;1,86;23;0,08;0,08
ScintillaHighlighting.pb;UpdateKeywordHighlight;175;5,84;1,94;1;5,84;1,94
ScintillaHighlighting.pb;GetSourceModified;170;2,11;2,11;6;0,35;0,35
HighlightingFunctions.pb;CreateFoldingInformation;194;2,15;2,14;1;2,15;2,14
ScintillaHighlighting.pb;ResizeEditorGadget;142;2,16;2,16;3;0,72;0,72
HighlightingEngine.pb;ByteUcase;189;2,42;2,42;7.247;0,00;0,00
ProcedureBrowser.pb;UpdateProcedureList;153;6,52;2,76;3;2,17;0,92
Language.pb;Language;32;2,81;2,81;1.052;0,00;0,00
CompilerInterface.pb;KillCompiler;250;2,93;2,93;1;2,93;2,93
ToolsPanel.pb;ToolsPanel_Create;76;9,75;2,97;1;9,75;2,97
RecentFiles.pb;RecentFiles_AddMenuEntries;51;3,66;3,02;2;1,83;1,51
TabBarGadget.pbi;TabBarGadget;66;4,55;3,04;1;4,55;3,04
ScintillaHighlighting.pb;ApplyWordChars;117;3,06;3,06;1;3,06;3,06
ThemeManagement.pb;Theme_AddToPrefslist;211;6,38;3,09;2;3,19;1,54
SourceParser.pb;FullSourceScan;147;3,33;3,19;3;1,11;1,06
UserInterface.pb;DispatchEvent;102;6.997,69;3,29;658;10,63;0,01
TabBarGadget.pbi;TabBarGadget_Examine;94;3,89;3,38;9;0,43;0,38
ToolbarManagement.pb;UpdatePrefsToolbarItem;214;3,47;3,47;1;3,47;3,47
AutoComplete.pb;AutoComplete_InitContextConstants;192;3,85;3,85;1;3,85;3,85
UserInterface.pb;UpdateSourceContainer;92;8,72;3,98;10;0,87;0,40
ScintillaHighlighting.pb;UpdateFolding;152;4,04;4,04;3;1,35;1,35
UserInterface.pb;MainWindowEvents;103;1.619,26;4,31;387;4,18;0,01
ScintillaHighlighting.pb;GetContinuationLine;162;4,42;4,42;3;1,48;1,47
UserInterface.pb;ChangeStatus;160;4,52;4,52;5;0,90;0,90
ToolbarManagement.pb;UpdatePrefsToolbarList;213;4,84;4,72;1;4,84;4,72
ThemeManagement.pb;Theme_Open;37;5,06;4,76;4;1,26;1,19
Commandline.pb;ParseCommandline;2;5,43;5,43;1;5,43;5,43
ProcedureBrowser.pb;ProcedureBrowser_CreateFunction;79;5,52;5,52;1;5,52;5,52
ScintillaHighlighting.pb;SendEditorFontMessage;119;5,61;5,60;2;2,80;2,80
ProcedureBrowser.pb;ProcedureBrowser_ResizeHandler;91;6,14;6,14;13;0,47;0,47
AutoComplete.pb;CreateAutoCompleteWindow;106;7,57;6,65;1;7,57;6,65
ThemeManagement.pb;CreatePrefsThemeList;210;13,20;6,79;1;13,20;6,79
ScintillaHighlighting.pb;UpdateLineNumbers;121;6,90;6,88;4;1,72;1,72
ThemeManagement.pb;Theme_LoadImage;40;8,62;7,76;368;0,02;0,02
WindowsMisc.pb;MainWindowCallback;97;8,28;8,28;3.914;0,00;0,00
SourceManagement.pb;ChangeActiveSourcecode;126;83,17;9,14;2;41,59;4,57
RadixTree.pb;Radix_FreeNode;9;9,78;9,78;1.655;0,01;0,01
ScintillaHighlighting.pb;UpdateHighlighting;193;15,33;10,12;1;15,33;10,12
ScintillaHighlighting.pb;GetCursorPosition;145;10,16;10,14;7;1,45;1,45
SourceManagement.pb;UpdateCursorPosition;144;19,35;10,57;6;3,23;1,76
ThemeManagement.pb;PrefsThemeChanged;225;13,57;13,57;165;0,08;0,08
Preferences.pb;UpdateImageColorGadget;216;13,68;13,68;41;0,33;0,33
RadixTree.pb;RadixFree;8;16,27;15,40;23;0,71;0,67
StructureViewer.pb;InitStructureViewer;190;213,38;16,94;1;213,38;16,94
UserInterface.pb;ResizeMainWindow;86;34,68;20,50;8;4,33;2,56
ScintillaHighlighting.pb;SetBackgroundColor;167;21,77;21,77;2;10,88;10,88
UserInterface.pb;DisableMenuAndToolbarItem;63;34,90;34,90;184;0,19;0,19
RadixTree.pb;Radix_AllocNode;11;34,91;34,91;43.236;0,00;0,00
UserInterface.pb;CreateGUI;44;260,42;35,70;1;260,42;35,70
CompilerInterface.pb;StartCompiler;33;39,14;39,12;1;39,14;39,12
ToolbarManagement.pb;CreateIDEToolBar;84;54,66;49,51;1;54,66;49,51
HighlightingEngine.pb;InitSyntaxHighlighting;188;87,84;50,35;1;87,84;50,35
PureBasic.pb;ShutdownIDE;235;64,85;59,26;1;64,85;59,26
UserInterface.pb;FlushEvents;101;96,51;68,72;4;24,13;17,18
RadixTree.pb;RadixInsert;10;113,85;78,94;30.947;0,00;0,00
ShortcutManagement.pb;FillShortcutList;209;102,45;101,23;1;102,45;101,23
ScintillaHighlighting.pb;SetUpHighlightingColors;118;128,45;117,48;2;64,22;58,74
StructureViewer.pb;LoadConstantList;191;185,53;122,06;1;185,53;122,06
Preferences.pb;PreferencesWindowEvents;223;5.375,14;140,39;267;20,13;0,53
UserInterface.pb;CreateIDEMenu;46;149,64;144,61;1;149,64;144,61
ScintillaHighlighting.pb;CreateEditorGadget;115;237,24;176,80;1;237,24;176,80
Preferences.pb;OpenPreferencesWindow;204;1.596,02;1.448,02;1;1.596,02;1.448,02
Preferences.pb;IsPreferenceChanged;224;5.233,72;5.219,63;165;31,72;31,63
Code: Select all
Test 3: Purebasic_ALL.exe & open a project file (.pb, 297kb)
====================================================
Module;Procedure;Order;Gross (ms);Net (ms);Calls;Ø Gross (ms);Ø Net (ms)
WindowsMisc.pb;MainWindowCallback;97;76,94;-17.553,56;71.499;0,00;-0,25
Language.pb;LanguagePattern;83;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetExplorerName;82;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;AddProjectBuildMenuEntries;57;0,00;0,00;1;0,00;0,00
EditHistory.pb;HistoryShutdownEvents;284;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;CloseProject;283;0,00;0,00;1;0,00;0,00
HighlightingEngine.pb;IsLineStart;277;0,00;0,00;2;0,00;0,00
TabBarGadget.pbi;TabBarGadget_UnselectItem;272;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ClearItem;271;0,00;0,00;1;0,00;0,00
IDEDebugger.pb;FindDebuggerFromID;268;0,00;0,00;1;0,00;0,00
EditHistory.pb;HistoryCompilerLoaded;186;0,00;0,00;1;0,00;0,00
EditHistory.pb;DetectCrashedHistorySession;183;0,00;0,00;1;0,00;0,00
UserInterface.pb;CustomizeTabBarGadget;65;0,00;0,00;1;0,00;0,00
AddTools.pb;AddTools_AddMenuEntries;58;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;AddProjectDefaultMenuEntries;56;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;Xml_SingleLine;55;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;GetSection;54;0,00;0,00;1;0,00;0,00
CompilerInterface.pb;SortCompilers;27;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetButtonBackgroundColor;5;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;UnlinkSourceFromProject;267;0,00;0,00;1;0,00;0,00
SourceParser.pb;FindBreakKeywords;266;0,00;0,00;2;0,00;0,00
SourceParser.pb;MatchKeywordForward;265;0,00;0,00;2;0,00;0,00
SourceParser.pb;FindProcedureStart;258;0,00;0,00;3;0,00;0,00
TabBarGadget.pbi;CountTabBarGadgetItems;168;0,00;0,00;2;0,00;0,00
ProjectManagement.pb;LinkSourceToProject;166;0,00;0,00;2;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ReplaceImage;124;0,00;0,00;2;0,00;0,00
WindowsMisc.pb;AutoComplete_SetFocusCallback;107;0,00;0,00;1;0,00;0,00
Misc.pb;OptionalImageID;81;0,00;0,00;4;0,00;0,00
VariableViewer.pb;VariableViewer_OptionName;25;0,00;0,00;2;0,00;0,00
AsciiTable.pb;AsciiTable_PreferenceLoad;20;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;CalculateHighlightingColors;13;0,00;0,00;1;0,00;0,00
SourceParser.pb;MatchKeywordBackward;264;0,00;0,00;2;0,00;0,00
SourceParser.pb;ClosestSourceItem;262;0,00;0,00;2;0,00;0,00
TabBarGadget.pbi;TabBarGadgetItemID;217;0,00;0,00;6;0,00;0,00
UserInterface.pb;StartupCheckScreenReader;181;0,02;0,00;1;0,02;0,00
PureBasic.pb;CloseSplashScreen;180;0,00;0,00;1;0,00;0,00
EditHistory.pb;HistoryEvent;172;0,00;0,00;3;0,00;0,00
RecentFiles.pb;RecentFiles_EntryString;52;0,54;0,00;2;0,27;0,00
SourceParser.pb;LocateStructureBaseItem;278;0,01;0,01;2;0,00;0,00
Misc.pb;FindMemoryString;210;0,01;0,01;1;0,01;0,01
ScintillaHighlighting.pb;GetLinesCount;194;0,01;0,01;3;0,00;0,00
UserInterface.pb;ErrorLog_Show;135;0,01;0,01;5;0,00;0,00
SourceManagement.pb;FileMonitorEvent;110;0,01;0,01;1;0,01;0,01
Explorer.pb;Explorer_PreferenceLoad;21;0,01;0,01;1;0,01;0,01
AsciiTable.pb;AsciiTable_PreferenceSave;290;0,01;0,01;1;0,01;0,01
SourceParser.pb;LocateSourceItem;255;0,01;0,01;7;0,00;0,00
Misc.pb;FindMemoryCharacter;249;0,01;0,01;7;0,00;0,00
SourceManagement.pb;GetSourceTitle;215;0,07;0,01;2;0,04;0,00
SourceManagement.pb;FindSourceFile;203;0,03;0,01;1;0,03;0,01
IDEDebugger.pb;IsDebuggedFile;159;0,01;0,01;6;0,00;0,00
Misc.pb;GetUniqueID;114;0,01;0,01;2;0,00;0,00
CompilerWindow.pb;GetActiveCompileTarget;61;0,01;0,01;6;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceLoad;24;0,01;0,01;1;0,01;0,01
Issues.pb;InitIssueList;18;0,01;0,01;1;0,01;0,01
Explorer.pb;Explorer_PreferenceSave;291;0,01;0,01;1;0,01;0,01
EditHistory.pb;EndHistorySession;287;0,01;0,01;1;0,01;0,01
SourceParser.pb;CharsToBytes;254;0,01;0,01;9;0,00;0,00
ProjectManagement.pb;IsProjectFile;202;0,01;0,01;1;0,01;0,01
WindowsHelp.pb;ClosePlatformSDKWindow;301;0,01;0,01;1;0,01;0,01
ProjectManagement.pb;IsCodeFile;206;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;IsCommentOrString;178;0,01;0,01;7;0,00;0,00
AddTools.pb;AddTools_Execute;171;0,01;0,01;5;0,00;0,00
VariableViewer.pb;UpdateVariableViewer;158;0,01;0,01;6;0,00;0,00
Issues.pb;UpdateIssueList;154;0,01;0,01;6;0,00;0,00
TabBarGadget.pbi;TabBarGadget_SelectItem;131;0,01;0,01;7;0,00;0,00
FileSystem.pb;ResolveRelativePath;34;0,01;0,01;2;0,01;0,00
ProcedureBrowser.pb;ProcedureBrowser_PreferenceLoad;23;0,01;0,01;1;0,01;0,01
TabBarGadget.pbi;TabBarGadget_Timer;1;0,01;0,01;1;0,01;0,01
VariableViewer.pb;VariableViewer_PreferenceSave;294;0,01;0,01;1;0,01;0,01
SourceManagement.pb;CheckSourceSaved;281;0,11;0,01;1;0,11;0,01
TabBarGadget.pbi;RemoveTabBarGadgetItem;269;0,07;0,01;1;0,07;0,01
SourceManagement.pb;SetupFileMonitor;111;0,01;0,01;1;0,01;0,01
TabBarGadget.pbi;SetTabBarGadgetItemText;216;0,02;0,01;2;0,01;0,01
ProjectManagement.pb;IsPureBasicFile;205;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;GetCurrentLine;179;1,67;0,01;4;0,42;0,00
EditHistory.pb;StartHistorySession;112;0,01;0,01;1;0,01;0,01
WindowsMisc.pb;ToolsPanel_ApplyColors;75;0,01;0,01;2;0,01;0,01
HighlightingEngine.pb;BuildCustomKeywordTable;28;16,53;0,01;1;16,53;0,01
HighlightingFunctions.pb;FindQuickHelpFromSorted;263;0,03;0,01;3;0,01;0,00
SourceParser.pb;CompareSourceItems;253;0,01;0,01;10;0,00;0,00
AutoComplete.pb;AutoComplete_Close;129;0,01;0,01;5;0,00;0,00
IDEDebugger.pb;GetDebuggerForFile;62;0,01;0,01;6;0,00;0,00
SourceParser.pb;ScanLine;251;0,01;0,01;10;0,00;0,00
TabBarGadget.pbi;SetTabBarGadgetItemColor;218;0,02;0,01;4;0,01;0,00
SourceManagement.pb;AnalyzeProjectSettings;209;0,06;0,01;1;0,06;0,01
WindowsExtensions.pb;GetListViewScroll;128;0,01;0,01;6;0,00;0,00
Templates.pb;Template_PreferenceSave;295;0,16;0,01;1;0,16;0,01
ProcedureBrowser.pb;ProcedureBrowser_PreferenceSave;293;0,01;0,01;1;0,01;0,01
SourceParser.pb;ResolveItemTypeFromSorted;259;15,28;0,01;3;5,09;0,00
SourceManagement.pb;RefreshSourceTitle;214;0,13;0,01;2;0,06;0,01
WindowsMisc.pb;IsScreenReaderActive;182;0,01;0,01;1;0,01;0,01
WindowsMisc.pb;RunOnce_Startup;29;0,01;0,01;1;0,01;0,01
UpdateCheck.pb;CheckForUpdatesSchedule;199;0,01;0,01;1;0,01;0,01
UserInterface.pb;RealtimeSizeWindowEventHandler;109;6,37;0,01;2;3,18;0,01
WindowsExtensions.pb;IsWindowMinimized;88;0,01;0,01;17;0,00;0,00
ToolbarManagement.pb;ConvertToolbarIconName;19;0,01;0,01;23;0,00;0,00
SourceManagement.pb;AnalyzeSettings_SourceFile;211;0,04;0,01;1;0,04;0,01
TabBarGadget.pbi;TabBarGadget_MouseIn;279;0,02;0,02;2;0,01;0,01
WindowsMisc.pb;LoadEditorFonts;45;0,02;0,02;1;0,02;0,02
IDEMisc.pb;DeleteRegisteredFiles;298;0,02;0,02;1;0,02;0,02
TabBarGadget.pbi;TabBarGadget_ItemID;123;0,02;0,02;16;0,00;0,00
TabBarGadget.pbi;TabBarGadget_RemoveItem;270;0,02;0,02;1;0,02;0,02
AddHelpFiles.pb;AddHelpFiles_Init;43;0,02;0,02;1;0,02;0,02
WindowsMisc.pb;AutoComplete_FocusProc;286;0,02;0,02;2;0,01;0,01
ProcedureBrowser.pb;ProcedureBrowser_EventHandler;105;0,02;0,02;17;0,00;0,00
WindowsExtensions.pb;IsWindowMaximized;87;0,02;0,02;17;0,00;0,00
SourceManagement.pb;AnalyzeSettings_Common;212;0,03;0,02;1;0,03;0,02
FileSystem.pb;IsEqualFile;204;0,04;0,02;2;0,02;0,01
SourceManagement.pb;CheckAllSourcesSaved;280;1.501,64;0,02;1;1.501,64;0,02
TabBarGadget.pbi;TabBarGadget_ColorMinus;139;0,02;0,02;32;0,00;0,00
Language.pb;LanguageStringAddress;99;0,04;0,02;16;0,00;0,00
ScintillaHighlighting.pb;BuildIndentVT;16;0,03;0,03;1;0,03;0,03
SourceManagement.pb;RemoveSource;239;1.663,52;0,03;1;1.663,52;0,03
TabBarGadget.pbi;AddTabBarGadgetItem;122;0,04;0,03;2;0,02;0,01
HighlightingFunctions.pb;GetWordBoundary;164;0,03;0,03;15;0,00;0,00
WindowsExtensions.pb;GetPanelHeight;89;0,03;0,03;19;0,00;0,00
ThemeManagement.pb;Theme_Close;41;0,03;0,03;2;0,01;0,01
SourceParser.pb;BuildFoldingVT;14;0,04;0,03;1;0,04;0,03
FileSystem.pb;UniqueFilename;35;0,03;0,03;8;0,00;0,00
WindowsExtensions.pb;GetPanelWidth;90;0,03;0,03;19;0,00;0,00
WindowsExtensions.pb;ZeroMemory;151;0,03;0,03;17;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Layout;73;0,03;0,03;29;0,00;0,00
ToolsPanel.pb;ToolsPanel_CheckAutoHide;200;0,03;0,03;23;0,00;0,00
ColorPicker.pb;ColorPicker_PreferenceLoad;22;0,03;0,03;1;0,03;0,03
CompilerInterface.pb;WaitForCompilerReady;184;411,64;0,03;1;411,64;0,03
TabBarGadget.pbi;TabBarGadget_ColorPlus;138;0,04;0,04;46;0,00;0,00
TabBarGadget.pbi;TabBarGadget_DrawCross;141;0,04;0,04;26;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ItemLength;136;0,04;0,04;26;0,00;0,00
ColorPicker.pb;ColorPicker_PreferenceSave;292;0,04;0,04;1;0,04;0,04
Preferences.pb;LoadDialogPosition;17;0,04;0,04;18;0,00;0,00
TabBarGadget.pbi;SetTabBarGadgetState;130;0,07;0,04;7;0,01;0,01
WindowsExtensions.pb;GetPanelItemID;78;0,04;0,04;1;0,04;0,04
ShortcutManagement.pb;BuildShortcutNamesTable;31;0,08;0,04;1;0,08;0,04
Preferences.pb;SaveDialogPosition;289;0,04;0,04;18;0,00;0,00
WindowsMisc.pb;UpdateToolbarView;85;6,15;0,04;1;6,15;0,04
WindowsMisc.pb;OSEndCode;300;0,05;0,05;1;0,05;0,05
HighlightingFunctions.pb;GenerateQuickHelpFromWord;261;3,35;0,05;5;0,67;0,01
CompilerWindow.pb;CompilerReady;185;411,60;0,05;1;411,60;0,05
SourceManagement.pb;UpdateSourceStatus;169;7,87;0,06;13;0,61;0,00
SourceParser.pb;ResolveItemType;256;15,35;0,06;3;5,12;0,02
ShortcutManagement.pb;GetBaseKeyIndex;50;0,06;0,06;127;0,00;0,00
Templates.pb;Template_PreferenceLoad;26;0,06;0,06;1;0,06;0,06
ZipManagement.pb;ScanZip;38;0,06;0,06;2;0,03;0,03
ScintillaHighlighting.pb;HideLineNumbers;120;3,19;0,06;8;0,40;0,01
HighlightingFunctions.pb;FindEnclosingFunction;163;3,38;0,06;12;0,28;0,01
AddTools.pb;AddTools_Init;42;0,06;0,06;1;0,06;0,06
TabBarGadget.pbi;TabBarGadget_PostUpdate;125;0,07;0,07;16;0,00;0,00
ScintillaHighlighting.pb;CountCharacters;146;0,07;0,07;41;0,00;0,00
ToolbarManagement.pb;ToolbarMenuImage;48;0,07;0,07;122;0,00;0,00
TabBarGadget.pbi;TabBarGadget_MaxLength;70;0,07;0,07;58;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Examine;94;0,25;0,08;4;0,06;0,02
HighlightingFunctions.pb;GenerateQuickHelpText;250;23,23;0,08;5;4,64;0,02
SourceParser.pb;IsContinuedLineStart;248;0,12;0,09;29;0,00;0,00
UserInterface.pb;ErrorLog_SyncState;134;8,04;0,09;5;1,61;0,02
TabBarGadget.pbi;TabBarGadget_ItemLayout;72;0,10;0,10;55;0,00;0,00
SourceParser.pb;FindModuleStart;257;0,10;0,10;5;0,02;0,02
ToolbarManagement.pb;InitToolbar;6;0,12;0,12;1;0,12;0,12
WindowsMisc.pb;CreateSYSTEMMenu;98;0,16;0,12;1;0,16;0,12
ScintillaHighlighting.pb;HasLineContinuation;247;22,75;0,13;29;0,79;0,00
IDEDebugger.pb;UpdateErrorLogMenuState;64;8,34;0,13;11;0,76;0,01
HighlightingFunctions.pb;DecodeNextLineState;274;0,14;0,14;67;0,00;0,00
Templates.pb;Template_Save;296;0,15;0,15;1;0,15;0,15
TabBarGadget.pbi;TabBarGadget_Callback;93;3,89;0,15;13;0,30;0,01
TabBarGadget.pbi;TabBarGadget_Examine_Editor;95;0,15;0,15;4;0,04;0,04
HighlightingFunctions.pb;QuickHelpFromLine;161;65,55;0,17;12;5,46;0,01
WindowsMisc.pb;UpdateRegistryKey;4;0,17;0,17;6;0,03;0,03
WindowsMisc.pb;GetWindowMetrics;96;0,34;0,17;1;0,34;0,17
TabBarGadget.pbi;UpdateTabBarGadget;67;4,09;0,17;17;0,24;0,01
ShortcutManagement.pb;CreateKeyboardShortcuts;100;0,17;0,17;2;0,09;0,09
CompilerInterface.pb;CompilerCleanup;299;0,18;0,18;1;0,18;0,18
ShortcutManagement.pb;GetShortcutText;49;0,33;0,21;127;0,00;0,00
ShortcutManagement.pb;ShortcutMenuItem;47;0,64;0,24;127;0,01;0,00
ThemeManagement.pb;LoadTheme;36;9,56;0,24;1;9,56;0,24
ScintillaHighlighting.pb;HideEditorGadget;143;0,25;0,25;6;0,04;0,04
UserInterface.pb;CreateIDEPopupMenu;80;0,45;0,25;1;0,45;0,25
ScintillaHighlighting.pb;ApplyWordChars;117;0,35;0,34;2;0,17;0,17
IDEDebugger.pb;SetDebuggerMenuStates;60;4,90;0,42;6;0,82;0,07
SourceManagement.pb;DetectNewLineType;207;0,45;0,45;1;0,45;0,45
SourceManagement.pb;NewSource;113;144,24;0,47;2;72,12;0,23
WindowsMisc.pb;OSStartupCode;3;0,65;0,48;1;0,65;0,48
SourceParser.pb;Parser_Cleanup;235;0,53;0,53;528;0,00;0,00
ProjectManagement.pb;ProjectName;53;0,54;0,53;1;0,54;0,53
UserInterface.pb;EventLoopCallback;104;0,55;0,55;439;0,00;0,00
SourceManagement.pb;ChangeNewLineType;208;0,57;0,57;1;0,57;0,57
TabBarGadget.pbi;TabBarGadget;66;0,84;0,57;1;0,84;0,57
ProcedureBrowser.pb;ProcedureBrowser_DestroyFunction;285;0,60;0,60;1;0,60;0,60
RecentFiles.pb;RecentFiles_AddMenuEntries;51;1,14;0,60;2;0,57;0,30
Language.pb;Language;32;0,61;0,61;335;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Draw;74;2,85;0,67;29;0,10;0,02
SourceManagement.pb;LoadSourceFile;201;17.389,40;0,67;1;17.389,40;0,67
UserInterface.pb;UpdateMenuStates;59;19,94;0,70;8;2,49;0,09
SourceParser.pb;IsLineContinuation;230;0,71;0,71;1.393;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Update;69;1,01;0,71;29;0,04;0,02
ScintillaHighlighting.pb;FreeEditorGadget;273;0,77;0,77;1;0,77;0,77
ZipManagement.pb;ExtractZip;39;0,77;0,77;272;0,00;0,00
UserInterface.pb;UpdateMainWindowTitle;132;0,83;0,81;5;0,17;0,16
Preferences.pb;LoadPreferences;12;17,72;0,94;1;17,72;0,94
TabBarGadget.pbi;TabBarGadget_DrawText;140;0,96;0,96;26;0,04;0,04
ProcedureBrowser.pb;ProcedureBrowser_CreateFunction;79;0,99;0,99;1;0,99;0,99
ToolsPanel.pb;ToolsPanel_CreateFake_Windows;77;1,05;1,05;1;1,05;1,05
TabBarGadget.pbi;TabBarGadget_DrawItem;137;2,18;1,13;26;0,08;0,04
Preferences.pb;SavePreferences;288;1,47;1,19;1;1,47;1,19
ScintillaHighlighting.pb;UpdateSelectionRepeat;165;1,24;1,24;13;0,10;0,10
HighlightingEngine.pb;InitSyntaxCheckArrays;7;19,29;1,39;2;9,65;0,69
Language.pb;LoadLanguage;30;1,51;1,44;1;1,51;1,44
SourceParser.pb;Parser_GetPrototype;232;2,49;1,45;528;0,01;0,00
TabBarGadget.pbi;TabBarGadget_StartDrawing;68;1,45;1,45;30;0,05;0,05
RecentFiles.pb;RecentFiles_AddFile;219;1,48;1,46;1;1,48;1,46
ScintillaHighlighting.pb;ResizeEditorGadget;142;1,51;1,51;9;0,17;0,17
UserInterface.pb;ErrorLog_Refresh;133;1,59;1,59;5;0,32;0,32
ScintillaHighlighting.pb;ChangeActiveLine;276;10.482,04;1,71;1;10.482,04;1,71
WindowsExtensions.pb;StartGadgetFlickerFix;155;1,81;1,81;6;0,30;0,30
HighlightingFunctions.pb;CreateFoldingInformation;193;2,04;2,02;1;2,04;2,02
AutoComplete.pb;CreateAutoCompleteWindow;106;2,25;2,15;1;2,25;2,15
TabBarGadget.pbi;TabBarGadget_StopDrawing;71;2,16;2,16;30;0,07;0,07
WindowsExtensions.pb;SetListViewScroll;156;2,27;2,27;6;0,38;0,38
ThemeManagement.pb;Theme_Open;37;2,48;2,35;2;1,24;1,18
HighlightingEngine.pb;CopyMemoryCheck;241;2,36;2,36;4.893;0,00;0,00
SourceParser.pb;Parser_SkipType;231;2,38;2,38;5.036;0,00;0,00
Misc.pb;EnsureWindowOnDesktop;108;2,40;2,40;1;2,40;2,40
ScintillaHighlighting.pb;SetFoldState;275;2,55;2,55;66;0,04;0,04
ScintillaHighlighting.pb;StreamTextIn;213;6,55;2,86;1;6,55;2,86
WindowsExtensions.pb;StopGadgetFlickerFix;157;2,90;2,90;6;0,48;0,48
SourceParser.pb;Parser_PopState;238;2,99;2,99;7.064;0,00;0,00
UserInterface.pb;DispatchEvent;102;1.517,19;3,03;446;3,40;0,01
CompilerInterface.pb;KillCompiler;297;3,08;3,08;1;3,08;3,08
ScintillaHighlighting.pb;UpdateLineNumbers;121;3,25;3,22;9;0,36;0,36
SourceParser.pb;Parser_PushState;237;3,23;3,23;7.064;0,00;0,00
SourceParser.pb;Parser_SkipPrototype;233;3,26;3,26;7.324;0,00;0,00
AutoComplete.pb;AutoComplete_InitContextConstants;191;3,29;3,29;1;3,29;3,29
HighlightingFunctions.pb;CheckStringComment;176;6,26;3,31;7;0,90;0,47
SourceParser.pb;Parser_SkipBraces;234;3,58;3,58;7.328;0,00;0,00
ScintillaHighlighting.pb;UpdateBraceHighlight;174;7,81;3,91;14;0,56;0,28
RadixTree.pb;RadixLookupValue;245;8,34;3,94;3.446;0,00;0,00
HighlightingEngine.pb;IsKnownConstant;244;12,31;4,00;3.431;0,00;0,00
UserInterface.pb;UpdateSourceContainer;92;10,15;4,33;16;0,63;0,27
HighlightingEngine.pb;HighlightCommentIssues;243;365,88;4,38;1.903;0,19;0,00
RadixTree.pb;RadixFindPrefix;246;4,39;4,39;3.446;0,00;0,00
UserInterface.pb;MainWindowEvents;103;1.514,15;4,50;439;3,45;0,01
SourceParser.pb;SortParserData;127;57,47;4,58;11;5,22;0,42
ScintillaHighlighting.pb;SetSourceModified;197;8,77;4,59;8;1,10;0,57
SourceParser.pb;Parser_AddSorted;260;20,14;4,60;2.898;0,01;0,00
Commandline.pb;ParseCommandline;2;4,81;4,81;1;4,81;4,81
ToolsPanel.pb;ToolsPanel_Create;76;7,17;5,08;1;7,17;5,08
SourceParser.pb;FullSourceScan;147;1.081,89;5,12;7;154,56;0,73
ScintillaHighlighting.pb;IsFoldPoint;195;5,59;5,59;8.060;0,00;0,00
ScintillaHighlighting.pb;SendEditorFontMessage;119;5,62;5,61;3;1,87;1,87
ScintillaHighlighting.pb;GetSourceModified;170;5,67;5,67;32;0,18;0,18
ThemeManagement.pb;Theme_LoadImage;40;6,82;6,11;308;0,02;0,02
HighlightingEngine.pb;IsAPIFunction;236;6,96;6,55;11.153;0,00;0,00
SourceParser.pb;PartialSourceScan;252;16,63;7,07;10;1,66;0,71
ScintillaHighlighting.pb;UpdateKeywordHighlight;175;18,23;7,46;7;2,60;1,06
HighlightingEngine.pb;IsBasicFunction;226;7,62;7,62;17.827;0,00;0,00
SourceManagement.pb;ChangeActiveSourcecode;126;4.214,19;7,71;5;842,84;1,54
ProcedureBrowser.pb;ProcedureBrowser_ResizeHandler;91;8,20;8,20;19;0,43;0,43
Issues.pb;ScanCommentIssues;228;9,04;9,04;8.787;0,00;0,00
SourceParser.pb;Parser_GetVariables;229;22,05;11,23;1.624;0,01;0,01
ProcedureBrowser.pb;UpdateProcedureList;153;19,04;12,05;6;3,17;2,01
UserInterface.pb;ChangeStatus;160;13,25;13,25;23;0,58;0,58
ScintillaHighlighting.pb;GetContinuationLine;162;27,13;13,45;12;2,26;1,12
ScintillaHighlighting.pb;GetCursorPosition;145;14,57;14,54;22;0,66;0,66
SourceParser.pb;Parser_GetType;225;16,89;16,89;32.548;0,00;0,00
ScintillaHighlighting.pb;UpdateHighlighting;192;23,39;16,93;1;23,39;16,93
StructureViewer.pb;InitStructureViewer;189;205,53;16,96;1;205,53;16,96
ToolbarManagement.pb;CreateIDEToolBar;84;24,22;18,03;1;24,22;18,03
UserInterface.pb;CreateGUI;44;128,23;18,33;1;128,23;18,33
HighlightingEngine.pb;IsCustomKeyword;240;19,17;19,17;32.644;0,00;0,00
SourceManagement.pb;UpdateCursorPosition;144;34,04;20,97;18;1,89;1,17
ScintillaHighlighting.pb;SetBackgroundColor;167;21,68;21,68;3;7,22;7,22
SourceParser.pb;Parser_Comment;227;39,14;23,19;7.604;0,01;0,00
SourceParser.pb;FreeSourceItemArray;148;60,87;25,27;8;7,61;3,16
UserInterface.pb;ResizeMainWindow;86;43,06;25,68;14;3,08;1,83
SourceParser.pb;AddSourceItem;222;25,87;25,87;48.926;0,00;0,00
ScintillaHighlighting.pb;GetLine;177;29,54;29,54;43;0,69;0,69
UserInterface.pb;DisableMenuAndToolbarItem;63;31,33;31,33;524;0,06;0,06
HighlightingEngine.pb;ByteUcase;188;35,29;35,29;72.816;0,00;0,00
SourceParser.pb;FreeSourceItems;150;35,83;35,83;56.422;0,00;0,00
RadixTree.pb;Radix_AllocNode;11;37,06;37,06;47.359;0,00;0,00
CompilerInterface.pb;StartCompiler;33;38,73;38,72;1;38,73;38,72
RadixTree.pb;Radix_FreeNode;9;42,28;42,28;5.876;0,01;0,01
HighlightingEngine.pb;InitSyntaxHighlighting;187;78,31;46,34;1;78,31;46,34
HighlightingEngine.pb;IsBasicKeyword;15;50,32;50,32;34.366;0,00;0,00
SourceParser.pb;Parser_GetWord;221;51,15;51,15;89.178;0,00;0,00
RadixTree.pb;RadixFree;8;64,85;58,52;121;0,54;0,48
PureBasic.pb;ShutdownIDE;282;68,67;63,05;1;68,67;63,05
UserInterface.pb;CreateIDEMenu;46;68,74;66,81;1;68,74;66,81
HighlightingEngine.pb;IsDecNumber;224;103,43;70,69;64.379;0,00;0,00
ScintillaHighlighting.pb;SetUpHighlightingColors;118;88,10;80,57;3;29,37;26,86
RadixTree.pb;RadixInsert;10;121,42;84,36;33.845;0,00;0,00
ScintillaHighlighting.pb;CreateEditorGadget;115;105,92;84,52;2;52,96;42,26
Macro.pb;ToAscii;116;97,42;97,42;156.136;0,00;0,00
StructureViewer.pb;LoadConstantList;190;177,46;116,77;1;177,46;116,77
SourceParser.pb;Parser_ModulePrefix;220;154,45;125,85;172.230;0,00;0,00
SourceParser.pb;Parser_GetUnknownWord;223;283,82;154,37;37.720;0,01;0,00
HighlightingEngine.pb;HighlightingEngine;196;10.665,55;169,79;8;1.333,19;21,22
UserInterface.pb;FlushEvents;101;606,23;279,42;7;86,60;39,92
HighlightingFunctions.pb;ApplyFoldingInformation;198;376,35;368,08;2;188,18;184,04
SourceParser.pb;ScanBuffer;149;1.016,30;398,06;17;59,78;23,42
ScintillaHighlighting.pb;IsInsideASMBlock;173;2.622,94;2.622,94;57.538;0,05;0,05
ScintillaHighlighting.pb;UpdateFolding;152;6.498,21;6.471,61;7;928,32;924,52
ScintillaHighlighting.pb;HighlightCallback;242;10.355,76;7.687,14;57.524;0,18;0,13
Re: Very slow editor - independent of settings
The function 'IsPreferenceChanged' is ten times faster on my slow PC, 300 ms to 550 ms. Depending on the existing PureBasic.prefs file. CPU is Intel Celeron J1900 1.3 GHz.
Do you see a difference to your PC that works normally?
With tabulator as separator you can insert the list directly into Excel.
Peter
Do you see a difference to your PC that works normally?
With tabulator as separator you can insert the list directly into Excel.
Peter
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
It's a big difference!
Results on computer with low resources (but fast IDE!):
Results on computer with low resources (but fast IDE!):
Code: Select all
Purebasic_ALL.exe (open preferences):
Module;Procedure;Order;Gross (ms);Net (ms);Calls;Ø Gross (ms);Ø Net (ms)
Language.pb;LanguagePattern;85;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetExplorerName;84;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;AddProjectBuildMenuEntries;54;0,00;0,00;1;0,00;0,00
HelpTool.pb;Help_PreferenceStart;229;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;CountTabBarGadgetItems;177;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;LinkSourceToProject;175;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ReplaceImage;133;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetButtonBackgroundColor;5;0,00;0,00;1;0,00;0,00
Templates.pb;Template_PreferenceStart;230;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;IsFoldPoint;205;0,00;0,00;2;0,00;0,00
HighlightingFunctions.pb;IsCommentOrString;188;0,00;0,00;1;0,00;0,00
IDEDebugger.pb;IsDebuggedFile;168;0,00;0,00;2;0,00;0,00
UserInterface.pb;CustomizeTabBarGadget;62;0,00;0,00;1;0,00;0,00
CompilerInterface.pb;SortCompilers;27;0,00;0,00;1;0,00;0,00
ScintillaHighlighting.pb;CalculateHighlightingColors;13;0,00;0,00;1;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceStart;228;0,01;0,01;1;0,01;0,01
ProcedureBrowser.pb;ProcedureBrowser_PreferenceStart;227;0,01;0,01;1;0,01;0,01
UpdateCheck.pb;CheckForUpdatesSchedule;209;0,01;0,01;1;0,01;0,01
ScintillaHighlighting.pb;GetLinesCount;204;0,01;0,01;2;0,00;0,00
AutoComplete.pb;AutoComplete_Close;138;0,01;0,01;2;0,00;0,00
CompilerWindow.pb;GetActiveCompileTarget;58;0,01;0,01;3;0,00;0,00
ProjectManagement.pb;AddProjectDefaultMenuEntries;53;0,01;0,01;1;0,01;0,01
VariableViewer.pb;VariableViewer_OptionName;25;0,01;0,01;2;0,00;0,00
Misc.pb;StrByteSize;225;0,01;0,01;1;0,01;0,01
VariableViewer.pb;UpdateVariableViewer;167;0,01;0,01;3;0,00;0,00
Misc.pb;GetUniqueID;122;0,01;0,01;1;0,01;0,01
SourceManagement.pb;FileMonitorEvent;109;0,01;0,01;2;0,00;0,00
IDEDebugger.pb;GetDebuggerForFile;59;0,01;0,01;3;0,00;0,00
AsciiTable.pb;AsciiTable_PreferenceLoad;20;0,01;0,01;1;0,01;0,01
WindowsHelp.pb;ClosePlatformSDKWindow;268;0,01;0,01;1;0,01;0,01
HighlightingEngine.pb;HighlightingEngine;206;0,01;0,01;1;0,01;0,01
ScintillaHighlighting.pb;UpdateBraceHighlight;184;0,01;0,01;2;0,01;0,00
WindowsExtensions.pb;ZeroMemory;160;0,01;0,01;3;0,00;0,00
UserInterface.pb;ErrorLog_Show;144;0,01;0,01;2;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Examine_Editor;98;0,01;0,01;2;0,00;0,00
Explorer.pb;Explorer_PreferenceStart;226;0,01;0,01;1;0,01;0,01
AddTools.pb;AddTools_Execute;180;0,01;0,01;3;0,00;0,00
WindowsExtensions.pb;SetListViewScroll;165;0,01;0,01;3;0,00;0,00
TabBarGadget.pbi;TabBarGadget_SelectItem;140;0,01;0,01;3;0,00;0,00
ProjectManagement.pb;CloseProject;244;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;ApplyFoldingInformation;208;0,01;0,01;1;0,01;0,01
UserInterface.pb;StartupCheckScreenReader;191;0,03;0,01;1;0,03;0,01
SourceManagement.pb;UpdateSourceStatus;178;0,02;0,01;3;0,01;0,00
Issues.pb;UpdateIssueList;163;0,01;0,01;3;0,00;0,00
FileSystem.pb;ResolveRelativePath;34;0,01;0,01;1;0,01;0,01
Explorer.pb;Explorer_PreferenceLoad;21;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;CreateFoldingInformation;203;0,02;0,01;1;0,02;0,01
HighlightingFunctions.pb;GetWordBoundary;173;0,01;0,01;3;0,00;0,00
WindowsExtensions.pb;GetListViewScroll;137;0,01;0,01;3;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ItemID;132;0,01;0,01;4;0,00;0,00
EditHistory.pb;SqlEscape;117;0,01;0,01;5;0,00;0,00
TabBarGadget.pbi;TabBarGadget_MouseIn;97;0,01;0,01;4;0,00;0,00
Issues.pb;InitIssueList;18;0,01;0,01;1;0,01;0,01
EditHistory.pb;HistoryShutdownEvents;245;0,03;0,01;1;0,03;0,01
PureBasic.pb;CloseSplashScreen;190;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;GetCurrentLine;189;0,02;0,01;1;0,02;0,01
ScintillaHighlighting.pb;GetLine;187;0,01;0,01;2;0,01;0,01
Preferences.pb;ApplyPreferences;239;0,90;0,01;1;0,90;0,01
FileSystem.pb;IsEqualFile;220;0,02;0,01;1;0,02;0,01
TabBarGadget.pbi;TabBarGadget_ColorMinus;148;0,01;0,01;6;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceLoad;24;0,01;0,01;1;0,01;0,01
ProjectPanel.pb;StoreProjectPanelStates;249;0,05;0,01;1;0,05;0,01
SourceParser.pb;SortParserData;136;0,01;0,01;3;0,00;0,00
FileSystem.pb;CreateRelativePath;216;0,02;0,01;1;0,02;0,01
AddTools.pb;AddTools_AddMenuEntries;55;0,01;0,01;1;0,01;0,01
WindowsExtensions.pb;StartGadgetFlickerFix;164;0,01;0,01;3;0,01;0,01
EditHistory.pb;History_VersionString;118;0,01;0,01;2;0,01;0,01
RecentFiles.pb;RecentFiles_EntryString;52;0,01;0,01;10;0,00;0,00
WindowsMisc.pb;AutoComplete_FocusProc;250;0,02;0,02;2;0,01;0,01
Explorer.pb;Explorer_PreferenceSave;258;0,02;0,02;1;0,02;0,02
ScintillaHighlighting.pb;IsInsideASMBlock;183;0,02;0,02;1;0,02;0,02
WindowsMisc.pb;AutoComplete_SetFocusCallback;111;0,02;0,02;1;0,02;0,02
ProcedureBrowser.pb;ProcedureBrowser_PreferenceLoad;23;0,02;0,02;1;0,02;0,02
WindowsExtensions.pb;GetPanelItemID;76;0,02;0,02;4;0,00;0,00
HighlightingEngine.pb;BuildCustomKeywordTable;28;45,79;0,02;1;45,79;0,02
IDEMisc.pb;DeleteRegisteredFiles;265;0,02;0,02;1;0,02;0,02
Templates.pb;Template_PreferenceSave;262;0,48;0,02;1;0,48;0,02
VariableViewer.pb;VariableViewer_PreferenceSave;261;0,02;0,02;1;0,02;0,02
ScintillaHighlighting.pb;UpdateSelectionRepeat;174;0,02;0,02;3;0,01;0,01
TabBarGadget.pbi;TabBarGadget_Timer;1;0,02;0,02;1;0,02;0,02
WindowsMisc.pb;IsScreenReaderActive;192;0,02;0,02;1;0,02;0,02
HighlightingFunctions.pb;FindEnclosingFunction;172;0,04;0,02;3;0,01;0,01
TabBarGadget.pbi;TabBarGadget_ColorPlus;147;0,02;0,02;12;0,00;0,00
SourceManagement.pb;CheckSourceSaved;242;0,03;0,02;1;0,03;0,02
SourceParser.pb;FreeSourceItems;159;0,02;0,02;5;0,00;0,00
WindowsMisc.pb;OSEndCode;267;0,03;0,02;1;0,03;0,02
ProcedureBrowser.pb;ProcedureBrowser_PreferenceSave;260;0,02;0,02;1;0,02;0,02
AsciiTable.pb;AsciiTable_PreferenceSave;257;0,02;0,02;1;0,02;0,02
HighlightingFunctions.pb;CheckStringComment;186;0,10;0,02;1;0,10;0,02
ScintillaHighlighting.pb;SetBackgroundColor;176;0,02;0,02;2;0,01;0,01
TabBarGadget.pbi;TabBarGadget_ItemLength;145;0,02;0,02;6;0,00;0,00
WindowsExtensions.pb;GetPanelWidth;92;0,02;0,02;13;0,00;0,00
SourceParser.pb;ScanBuffer;158;0,05;0,02;3;0,01;0,01
WindowsExtensions.pb;IsWindowMinimized;90;0,02;0,02;11;0,00;0,00
WindowsMisc.pb;UpdateToolbarView;87;2,87;0,02;1;2,87;0,02
FileSystem.pb;UniqueFilename;35;0,02;0,02;6;0,00;0,00
TabBarGadget.pbi;TabBarGadget_DrawCross;150;0,03;0,03;6;0,00;0,00
ScintillaHighlighting.pb;GetContinuationLine;171;0,03;0,03;3;0,01;0,01
WindowsExtensions.pb;IsWindowMaximized;89;0,03;0,03;11;0,00;0,00
TabBarGadget.pbi;TabBarGadget_PostUpdate;134;0,03;0,03;4;0,01;0,01
TabBarGadget.pbi;AddTabBarGadgetItem;131;0,04;0,03;1;0,04;0,03
TabBarGadget.pbi;TabBarGadget_Layout;70;0,03;0,03;15;0,00;0,00
WindowsMisc.pb;RunOnce_Startup;29;0,03;0,03;1;0,03;0,03
WindowsMisc.pb;Session_Start;119;1,00;0,03;1;1,00;0,03
ToolsPanel.pb;ToolsPanel_CheckAutoHide;210;0,03;0,03;12;0,00;0,00
ScintillaHighlighting.pb;UpdateFolding;161;0,03;0,03;3;0,01;0,01
Misc.pb;OptionalImageID;83;0,03;0,03;11;0,00;0,00
ToolbarManagement.pb;ConvertToolbarIconName;19;0,03;0,03;24;0,00;0,00
ScintillaHighlighting.pb;ApplyWordChars;126;0,03;0,03;1;0,03;0,03
ProcedureBrowser.pb;ProcedureBrowser_EventHandler;108;0,03;0,03;22;0,00;0,00
WindowsMisc.pb;Session_End;254;0,03;0,03;1;0,03;0,03
EditHistory.pb;History_FreeEvent;253;0,03;0,03;2;0,02;0,02
ScintillaHighlighting.pb;HideLineNumbers;129;1,46;0,04;4;0,36;0,01
ScintillaHighlighting.pb;GetSourceModified;179;0,04;0,04;6;0,01;0,01
WindowsExtensions.pb;StopGadgetFlickerFix;166;0,04;0,04;3;0,01;0,01
SourceManagement.pb;SetupFileMonitor;114;0,04;0,04;1;0,04;0,04
UserInterface.pb;RealtimeSizeWindowEventHandler;113;1,29;0,04;5;0,26;0,01
WindowsExtensions.pb;GetPanelHeight;91;0,04;0,04;13;0,00;0,00
ScintillaHighlighting.pb;UpdateHighlighting;202;0,21;0,04;1;0,21;0,04
TabBarGadget.pbi;SetTabBarGadgetState;139;0,07;0,04;3;0,03;0,01
ScintillaHighlighting.pb;UpdateKeywordHighlight;185;0,16;0,04;1;0,16;0,04
SourceManagement.pb;CheckAllSourcesSaved;241;6,30;0,04;1;6,30;0,04
EditHistory.pb;HistoryEvent;181;0,20;0,04;2;0,10;0,02
UserInterface.pb;ErrorLog_Refresh;142;0,04;0,04;2;0,02;0,02
HighlightingEngine.pb;IsBasicKeyword;15;0,04;0,04;15;0,00;0,00
UserInterface.pb;MainMenuEvent;211;1.215,08;0,05;1;1.215,08;0,05
ScintillaHighlighting.pb;BuildIndentVT;16;0,05;0,05;1;0,05;0,05
ProcedureBrowser.pb;UpdateProcedureList;162;0,12;0,05;3;0,04;0,02
Language.pb;LanguageStringAddress;102;0,09;0,05;16;0,01;0,00
TabBarGadget.pbi;TabBarGadget_MaxLength;67;0,05;0,05;16;0,00;0,00
WindowsMisc.pb;LoadEditorFonts;45;0,05;0,05;1;0,05;0,05
SourceParser.pb;BuildFoldingVT;14;0,10;0,06;1;0,10;0,06
ScintillaHighlighting.pb;HideEditorGadget;152;0,06;0,06;2;0,03;0,03
CompilerInterface.pb;WaitForCompilerReady;194;842,64;0,06;1;842,64;0,06
HighlightingFunctions.pb;QuickHelpFromLine;170;0,99;0,06;3;0,33;0,02
SourceParser.pb;FullSourceScan;156;0,36;0,06;3;0,12;0,02
TabBarGadget.pbi;TabBarGadget_DrawArrow;72;0,06;0,06;17;0,00;0,00
AddHelpFiles.pb;AddHelpFiles_Init;43;0,07;0,07;1;0,07;0,07
ColorPicker.pb;ColorPicker_PreferenceLoad;22;0,07;0,07;1;0,07;0,07
Macro.pb;ToAscii;125;0,07;0,07;15;0,01;0,01
ProjectPanel.pb;UpdateProjectPanel;79;0,07;0,07;2;0,04;0,04
ColorPicker.pb;ColorPicker_PreferenceSave;259;0,08;0,08;1;0,08;0,08
TabBarGadget.pbi;TabBarGadget_ItemLayout;69;0,08;0,08;21;0,00;0,00
ScintillaHighlighting.pb;GetCursorPosition;154;0,10;0,08;7;0,01;0,01
UserInterface.pb;ErrorLog_SyncState;143;0,39;0,08;2;0,20;0,04
SourceParser.pb;FreeSourceItemArray;157;0,26;0,09;3;0,09;0,03
ShortcutManagement.pb;BuildShortcutNamesTable;31;0,16;0,09;1;0,16;0,09
Preferences.pb;LoadDialogPosition;17;0,09;0,09;18;0,01;0,01
ToolbarManagement.pb;UpdatePrefsToolbarItem;222;0,09;0,09;1;0,09;0,09
ScintillaHighlighting.pb;CountCharacters;155;0,09;0,09;11;0,01;0,01
CompilerWindow.pb;CompilerReady;195;842,58;0,09;1;842,58;0,09
TabBarGadget.pbi;TabBarGadget_Examine;96;0,11;0,09;2;0,06;0,05
Preferences.pb;SaveDialogPosition;256;0,10;0,10;18;0,01;0,01
IDEDebugger.pb;UpdateErrorLogMenuState;61;0,36;0,10;5;0,07;0,02
TabBarGadget.pbi;TabBarGadget_Callback;95;2,65;0,10;5;0,53;0,02
Templates.pb;Template_PreferenceLoad;26;0,12;0,12;1;0,12;0,12
HelpTool.pb;Help_PreferenceChanged;237;0,12;0,12;165;0,00;0,00
ScintillaHighlighting.pb;SetSourceModified;207;0,14;0,13;1;0,14;0,13
Templates.pb;Template_PreferenceChanged;238;0,13;0,13;165;0,00;0,00
ToolbarManagement.pb;ToolbarMenuImage;48;0,13;0,13;122;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceChanged;236;0,14;0,14;165;0,00;0,00
Explorer.pb;Explorer_PreferenceChanged;234;0,14;0,14;165;0,00;0,00
ProcedureBrowser.pb;ProcedureBrowser_PreferenceChanged;235;0,15;0,15;165;0,00;0,00
Preferences.pb;UpdatePreferenceSyntaxColor;223;8,82;0,16;38;0,23;0,00
ScintillaHighlighting.pb;SetUpHighlightingColors;127;1,30;0,16;2;0,65;0,08
ThemeManagement.pb;Theme_Close;41;0,16;0,16;4;0,04;0,04
ScintillaHighlighting.pb;SendEditorFontMessage;128;0,23;0,20;6;0,04;0,03
WindowsMisc.pb;ToolsPanel_ApplyColors;73;0,20;0,20;8;0,03;0,03
WindowsMisc.pb;UpdateRegistryKey;4;0,20;0,20;6;0,03;0,03
TabBarGadget.pbi;UpdateTabBarGadget;64;5,84;0,21;11;0,53;0,02
WindowsMisc.pb;GetWindowMetrics;99;0,65;0,21;1;0,65;0,21
EditHistory.pb;HistoryCompilerLoaded;196;0,23;0,22;1;0,23;0,22
ToolbarManagement.pb;InitToolbar;6;0,22;0,22;1;0,22;0,22
EditHistory.pb;History_GetOption;116;0,24;0,23;2;0,12;0,12
IDEDebugger.pb;SetDebuggerMenuStates;57;0,72;0,24;3;0,24;0,08
AddTools.pb;AddTools_Init;42;0,25;0,25;1;0,25;0,25
ShortcutManagement.pb;GetBaseKeyIndex;50;0,28;0,28;250;0,00;0,00
ZipManagement.pb;ScanZip;38;0,29;0,29;4;0,07;0,07
UserInterface.pb;UpdateMainWindowTitle;141;0,32;0,30;2;0,16;0,15
ScintillaHighlighting.pb;ResizeEditorGadget;151;0,32;0,32;3;0,11;0,11
WindowsMisc.pb;CreateSYSTEMMenu;101;0,43;0,34;1;0,43;0,34
ThemeManagement.pb;PrefsThemeChanged;233;0,35;0,35;165;0,00;0,00
ThemeManagement.pb;FreePrefsThemeList;240;0,37;0,35;1;0,37;0,35
UserInterface.pb;UpdateMenuStates;56;1,05;0,38;3;0,35;0,12
TabBarGadget.pbi;TabBarGadget;63;1,14;0,42;1;1,14;0,42
ShortcutManagement.pb;ShortcutMenuItem;47;1,18;0,43;127;0,01;0,00
Templates.pb;Template_Save;263;0,46;0,46;1;0,46;0,46
ProjectPanel.pb;ProjectPanel_DestroyFunction;248;0,58;0,53;1;0,58;0,53
ProcedureBrowser.pb;ProcedureBrowser_DestroyFunction;246;0,54;0,54;1;0,54;0,54
UserInterface.pb;CreateIDEPopupMenu;82;0,91;0,54;1;0,91;0,54
TabBarGadget.pbi;TabBarGadget_DrawText;149;0,55;0,55;6;0,09;0,09
ProcedureBrowser.pb;ProcedureBrowser_CreateFunction;77;0,70;0,70;1;0,70;0,70
WindowsMisc.pb;OSStartupCode;3;0,91;0,70;1;0,91;0,70
TabBarGadget.pbi;TabBarGadget_DrawItem;146;1,32;0,71;6;0,22;0,12
CompilerInterface.pb;CompilerCleanup;266;0,75;0,75;1;0,75;0,75
ToolsPanel.pb;ToolsPanel_CreateFake_Windows;75;0,86;0,85;1;0,86;0,85
ThemeManagement.pb;LoadTheme;36;60,37;0,92;1;60,37;0,92
TabBarGadget.pbi;TabBarGadget_Update;66;1,36;0,99;15;0,09;0,07
TabBarGadget.pbi;TabBarGadget_Draw;71;2,47;1,09;15;0,17;0,07
UserInterface.pb;EventLoopCallback;107;1,12;1,12;652;0,00;0,00
EditHistory.pb;History_MakeUniqueId;120;1,13;1,13;2;0,57;0,57
ToolbarManagement.pb;UpdatePrefsToolbarList;221;1,39;1,15;1;1,39;1,15
Language.pb;CollectLanguageInfo;214;504,45;1,19;1;504,45;1,19
ShortcutManagement.pb;GetShortcutText;49;1,80;1,19;250;0,01;0,01
ProcedureBrowser.pb;ProcedureBrowser_ResizeHandler;93;1,26;1,26;13;0,10;0,10
UserInterface.pb;MainWindowEvents;106;1.224,84;1,27;412;2,97;0,00
UserInterface.pb;ChangeStatus;169;1,27;1,27;5;0,25;0,25
Misc.pb;EnsureWindowOnDesktop;112;1,30;1,30;2;0,65;0,65
ShortcutManagement.pb;CreateKeyboardShortcuts;103;1,36;1,36;2;0,68;0,68
UserInterface.pb;DisableMenuAndToolbarItem;60;1,37;1,37;184;0,01;0,01
ScintillaHighlighting.pb;UpdateLineNumbers;130;1,42;1,41;4;0,35;0,35
UserInterface.pb;UpdateSourceContainer;94;8,17;1,50;10;0,82;0,15
ZipManagement.pb;ExtractZip;39;1,74;1,74;308;0,01;0,01
TabBarGadget.pbi;TabBarGadget_StartDrawing;65;1,76;1,76;16;0,11;0,11
Preferences.pb;LoadPreferences;12;48,29;1,97;1;48,29;1,97
ScintillaHighlighting.pb;CreateEditorGadget;124;2,73;2,18;1;2,73;2,18
SourceManagement.pb;ChangeActiveSourcecode;135;13,77;2,27;2;6,89;1,13
Preferences.pb;SavePreferences;255;3,37;2,63;1;3,37;2,63
TabBarGadget.pbi;TabBarGadget_StopDrawing;68;2,68;2,68;16;0,17;0,17
ThemeManagement.pb;Theme_AddToPrefslist;219;13,53;2,97;2;6,76;1,48
Language.pb;LoadLanguage;30;3,13;2,97;1;3,13;2,97
SourceManagement.pb;UpdateCursorPosition;153;3,17;3,00;6;0,53;0,50
HighlightingEngine.pb;InitSyntaxCheckArrays;7;51,59;3,02;2;25,80;1,51
RecentFiles.pb;RecentFiles_AddMenuEntries;51;3,06;3,05;2;1,53;1,52
ThemeManagement.pb;CreatePrefsThemeList;218;16,66;3,07;1;16,66;3,07
ProjectPanel.pb;ProjectPanel_CreateFunction;78;3,54;3,47;1;3,54;3,47
Common.pb;Max;213;3,78;3,78;5.435;0,00;0,00
UserInterface.pb;ResizeMainWindow;88;13,05;4,14;8;1,63;0,52
HighlightingEngine.pb;ByteUcase;198;4,38;4,38;7.247;0,00;0,00
UserInterface.pb;DispatchEvent;105;1.391,78;4,68;656;2,12;0,01
Language.pb;Language;32;4,82;4,82;1.078;0,00;0,00
AutoComplete.pb;CreateAutoCompleteWindow;110;6,23;5,07;1;6,23;5,07
EditHistory.pb;History_FlushEvents;252;6,57;6,42;1;6,57;6,42
AutoComplete.pb;AutoComplete_InitContextConstants;201;6,43;6,43;1;6,43;6,43
UserInterface.pb;CreateGUI;44;246,67;7,96;1;246,67;7,96
Preferences.pb;UpdateImageColorGadget;224;9,42;9,42;41;0,23;0,23
CompilerInterface.pb;KillCompiler;264;9,77;9,77;1;9,77;9,77
Explorer.pb;UpdateExplorerPatterns;81;11,46;11,43;1;11,46;11,43
SourceManagement.pb;NewSource;121;12,07;12,05;1;12,07;12,05
Commandline.pb;ParseCommandline;2;12,08;12,08;1;12,08;12,08
ThemeManagement.pb;Theme_Open;37;12,95;12,46;4;3,24;3,11
WindowsMisc.pb;MainWindowCallback;100;13,98;13,98;3.899;0,00;0,00
ToolbarManagement.pb;CreateIDEToolBar;86;26,42;23,46;1;26,42;23,46
RadixTree.pb;Radix_FreeNode;9;24,02;24,02;1.655;0,01;0,01
ShortcutManagement.pb;FillShortcutList;217;27,27;24,70;1;27,27;24,70
UserInterface.pb;FlushEvents;104;30,80;28,13;4;7,70;7,03
RadixTree.pb;RadixFree;8;40,10;38,17;23;1,74;1,66
UserInterface.pb;CreateIDEMenu;46;46,88;42,30;1;46,88;42,30
Explorer.pb;Explorer_CreateFunction;80;63,48;51,92;1;63,48;51,92
Preferences.pb;PreferencesWindowEvents;231;162,25;52,31;240;0,68;0,22
StructureViewer.pb;InitStructureViewer;199;600,49;53,02;1;600,49;53,02
ThemeManagement.pb;Theme_LoadImage;40;56,88;55,36;368;0,15;0,15
CompilerInterface.pb;StartCompiler;33;55,88;55,86;1;55,88;55,86
EditHistory.pb;DetectCrashedHistorySession;193;67,33;67,33;1;67,33;67,33
RadixTree.pb;Radix_AllocNode;11;71,55;71,55;43.236;0,00;0,00
ToolsPanel.pb;ToolsPanel_Create;74;160,45;91,63;1;160,45;91,63
Preferences.pb;IsPreferenceChanged;232;108,74;107,70;165;0,66;0,65
EditHistory.pb;StartHistorySession;115;114,89;113,63;1;114,89;113,63
EditHistory.pb;History_AsyncDeleteEvent;247;126,08;124,38;1;126,08;124,38
RadixTree.pb;RadixInsert;10;230,77;159,22;30.947;0,01;0,01
HighlightingEngine.pb;InitSyntaxHighlighting;197;234,22;161,16;1;234,22;161,16
EditHistory.pb;History_WriteEvent;182;209,88;206,52;2;104,94;103,26
EditHistory.pb;EndHistorySession;251;258,54;251,94;1;258,54;251,94
PureBasic.pb;ShutdownIDE;243;320,63;320,59;1;320,63;320,59
StructureViewer.pb;LoadConstantList;200;524,23;394,01;1;524,23;394,01
Language.pb;GetLanguageInfo;215;503,27;503,27;17;29,60;29,60
Preferences.pb;OpenPreferencesWindow;212;1.215,03;642,24;1;1.215,03;642,24
EditHistory.pb;History_EventThread;123;7.683,91;5.421,54;3;2.561,30;1.807,18
Code: Select all
Purebasic_ALL.exe (open .pb file, 297kb):
Module;Procedure;Order;Gross (ms);Net (ms);Calls;Ø Gross (ms);Ø Net (ms)
SourceParser.pb;Parser_GetType;235;38,04;-4.295,04;32.551;0,00;-0,13
Language.pb;LanguagePattern;85;0,00;0,00;1;0,00;0,00
IDEDebugger.pb;FindDebuggerFromID;278;0,00;0,00;1;0,00;0,00
WindowsExtensions.pb;GetExplorerName;84;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;AddProjectBuildMenuEntries;54;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;CloseProject;293;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;TabBarGadget_UnselectItem;283;0,00;0,00;1;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ClearItem;282;0,00;0,00;1;0,00;0,00
SourceParser.pb;ClosestSourceItem;272;0,00;0,00;1;0,00;0,00
UserInterface.pb;CustomizeTabBarGadget;62;0,00;0,00;1;0,00;0,00
CompilerInterface.pb;SortCompilers;27;0,00;0,00;1;0,00;0,00
ProjectManagement.pb;UnlinkSourceFromProject;277;0,01;0,01;1;0,01;0,01
SourceParser.pb;FindBreakKeywords;276;0,01;0,01;2;0,00;0,00
SourceParser.pb;MatchKeywordForward;275;0,01;0,01;2;0,00;0,00
SourceParser.pb;MatchKeywordBackward;274;0,01;0,01;2;0,00;0,00
UpdateCheck.pb;CheckForUpdatesSchedule;209;0,01;0,01;1;0,01;0,01
AddTools.pb;AddTools_AddMenuEntries;55;0,01;0,01;1;0,01;0,01
ProjectManagement.pb;AddProjectDefaultMenuEntries;53;0,01;0,01;1;0,01;0,01
ScintillaHighlighting.pb;CalculateHighlightingColors;13;0,01;0,01;1;0,01;0,01
SourceParser.pb;FindProcedureStart;268;0,01;0,01;3;0,00;0,00
SourceManagement.pb;FindSourceFile;213;0,02;0,01;1;0,02;0,01
ProjectManagement.pb;IsProjectFile;212;0,01;0,01;1;0,01;0,01
ScintillaHighlighting.pb;GetLinesCount;204;0,01;0,01;3;0,00;0,00
TabBarGadget.pbi;CountTabBarGadgetItems;177;0,01;0,01;2;0,00;0,00
VariableViewer.pb;VariableViewer_OptionName;25;0,01;0,01;2;0,00;0,00
AsciiTable.pb;AsciiTable_PreferenceLoad;20;0,01;0,01;1;0,01;0,01
ProjectManagement.pb;LinkSourceToProject;175;0,01;0,01;2;0,00;0,00
WindowsHelp.pb;ClosePlatformSDKWindow;316;0,01;0,01;1;0,01;0,01
EditHistory.pb;HistoryShutdownEvents;294;0,18;0,01;1;0,18;0,01
TabBarGadget.pbi;TabBarGadget_ReplaceImage;133;0,01;0,01;2;0,00;0,00
TabBarGadget.pbi;TabBarGadget_Examine_Editor;98;0,01;0,01;2;0,00;0,00
Misc.pb;OptionalImageID;83;0,01;0,01;4;0,00;0,00
Explorer.pb;Explorer_PreferenceLoad;21;0,01;0,01;1;0,01;0,01
SourceManagement.pb;CheckSourceSaved;291;0,01;0,01;1;0,01;0,01
TabBarGadget.pbi;TabBarGadgetItemID;227;0,01;0,01;6;0,00;0,00
SourceManagement.pb;GetSourceTitle;225;0,01;0,01;2;0,01;0,01
HighlightingFunctions.pb;CreateFoldingInformation;203;0,02;0,01;1;0,02;0,01
TabBarGadget.pbi;TabBarGadget_MouseIn;97;0,01;0,01;4;0,00;0,00
SourceParser.pb;LocateSourceItem;265;0,01;0,01;7;0,00;0,00
SourceParser.pb;CharsToBytes;264;0,01;0,01;8;0,00;0,00
ProjectPanel.pb;StoreProjectPanelStates;297;0,04;0,01;1;0,04;0,01
TabBarGadget.pbi;RemoveTabBarGadgetItem;280;0,05;0,01;1;0,05;0,01
UserInterface.pb;StartupCheckScreenReader;191;0,05;0,01;1;0,05;0,01
PureBasic.pb;CloseSplashScreen;190;0,01;0,01;1;0,01;0,01
VariableViewer.pb;UpdateVariableViewer;167;0,01;0,01;6;0,00;0,00
AutoComplete.pb;AutoComplete_Close;138;0,01;0,01;5;0,00;0,00
VariableViewer.pb;VariableViewer_PreferenceLoad;24;0,01;0,01;1;0,01;0,01
Issues.pb;InitIssueList;18;0,01;0,01;1;0,01;0,01
Misc.pb;FindMemoryCharacter;259;0,01;0,01;8;0,00;0,00
Misc.pb;GetUniqueID;122;0,01;0,01;2;0,01;0,01
Explorer.pb;Explorer_PreferenceSave;306;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;FindQuickHelpFromSorted;273;0,04;0,01;2;0,02;0,01
ProjectManagement.pb;IsCodeFile;216;0,01;0,01;1;0,01;0,01
HighlightingFunctions.pb;IsCommentOrString;188;0,01;0,01;6;0,00;0,00
IDEDebugger.pb;IsDebuggedFile;168;0,01;0,01;6;0,00;0,00
Issues.pb;UpdateIssueList;163;0,01;0,01;6;0,00;0,00
CompilerWindow.pb;GetActiveCompileTarget;58;0,01;0,01;6;0,00;0,00
WindowsExtensions.pb;GetListViewScroll;137;0,01;0,01;6;0,00;0,00
WindowsMisc.pb;AutoComplete_SetFocusCallback;111;0,01;0,01;1;0,01;0,01
IDEDebugger.pb;GetDebuggerForFile;59;0,01;0,01;6;0,00;0,00
SourceParser.pb;LocateStructureBaseItem;289;0,02;0,02;2;0,01;0,01
SourceParser.pb;FindModuleStart;267;0,02;0,02;4;0,00;0,00
SourceParser.pb;CompareSourceItems;263;0,02;0,02;9;0,00;0,00
WindowsExtensions.pb;GetButtonBackgroundColor;5;0,02;0,02;1;0,02;0,02
TabBarGadget.pbi;TabBarGadget_Timer;1;0,02;0,02;1;0,02;0,02
Misc.pb;FindMemoryString;220;0,02;0,02;1;0,02;0,02
ProjectManagement.pb;IsPureBasicFile;215;0,02;0,02;1;0,02;0,02
TabBarGadget.pbi;TabBarGadget_SelectItem;140;0,02;0,02;7;0,00;0,00
EditHistory.pb;SqlEscape;117;0,02;0,02;5;0,00;0,00
Templates.pb;Template_PreferenceSave;310;0,44;0,02;1;0,44;0,02
VariableViewer.pb;VariableViewer_PreferenceSave;309;0,02;0,02;1;0,02;0,02
WindowsMisc.pb;AutoComplete_FocusProc;298;0,02;0,02;2;0,01;0,01
TabBarGadget.pbi;TabBarGadget_RemoveItem;281;0,03;0,02;1;0,03;0,02
WindowsMisc.pb;OSEndCode;315;0,03;0,02;1;0,03;0,02
Common.pb;Max;301;0,02;0,02;9;0,00;0,00
ProcedureBrowser.pb;ProcedureBrowser_PreferenceLoad;23;0,02;0,02;1;0,02;0,02
IDEMisc.pb;DeleteRegisteredFiles;313;0,02;0,02;1;0,02;0,02
SourceParser.pb;ScanLine;261;0,02;0,02;9;0,00;0,00
TabBarGadget.pbi;SetTabBarGadgetItemText;226;0,05;0,02;2;0,02;0,01
UserInterface.pb;ErrorLog_Show;144;0,02;0,02;5;0,00;0,00
RecentFiles.pb;RecentFiles_EntryString;52;0,02;0,02;10;0,00;0,00
FileSystem.pb;ResolveRelativePath;34;0,03;0,02;2;0,02;0,01
HighlightingEngine.pb;BuildCustomKeywordTable;28;59,29;0,02;1;59,29;0,02
ProcedureBrowser.pb;ProcedureBrowser_PreferenceSave;308;0,02;0,02;1;0,02;0,02
WindowsExtensions.pb;GetPanelItemID;76;0,02;0,02;4;0,01;0,01
SourceParser.pb;ResolveItemTypeFromSorted;269;40,61;0,02;3;13,54;0,01
TabBarGadget.pbi;SetTabBarGadgetItemColor;228;0,04;0,02;4;0,01;0,01
UserInterface.pb;RealtimeSizeWindowEventHandler;113;1,11;0,02;2;0,56;0,01
WindowsMisc.pb;UpdateToolbarView;87;2,60;0,02;1;2,60;0,02
AsciiTable.pb;AsciiTable_PreferenceSave;305;0,03;0,03;1;0,03;0,03
SourceManagement.pb;RefreshSourceTitle;224;0,13;0,03;2;0,06;0,01
EditHistory.pb;History_VersionString;118;0,03;0,03;2;0,01;0,01
HighlightingFunctions.pb;GetCurrentLine;189;0,08;0,03;5;0,01;0,01
WindowsMisc.pb;RunOnce_Startup;29;0,03;0,03;1;0,03;0,03
AddTools.pb;AddTools_Execute;180;0,03;0,03;5;0,01;0,01
WindowsExtensions.pb;StartGadgetFlickerFix;164;0,03;0,03;6;0,01;0,01
ToolbarManagement.pb;ConvertToolbarIconName;19;0,03;0,03;24;0,00;0,00
WindowsMisc.pb;LoadEditorFonts;45;0,03;0,03;1;0,03;0,03
WindowsMisc.pb;IsScreenReaderActive;192;0,03;0,03;1;0,03;0,03
SourceManagement.pb;AnalyzeProjectSettings;219;0,18;0,04;1;0,18;0,04
TabBarGadget.pbi;TabBarGadget_ItemID;132;0,04;0,04;16;0,00;0,00
WindowsExtensions.pb;GetPanelWidth;92;0,04;0,04;17;0,00;0,00
ToolsPanel.pb;ToolsPanel_CheckAutoHide;210;0,04;0,04;12;0,00;0,00
WindowsMisc.pb;Session_End;302;0,04;0,04;1;0,04;0,04
ScintillaHighlighting.pb;UpdateHighlighting;202;0,21;0,04;1;0,21;0,04
WindowsMisc.pb;Session_Start;119;1,25;0,04;1;1,25;0,04
SourceManagement.pb;SetupFileMonitor;114;0,04;0,04;1;0,04;0,04
AddHelpFiles.pb;AddHelpFiles_Init;43;0,04;0,04;1;0,04;0,04
FileSystem.pb;IsEqualFile;214;0,09;0,04;2;0,04;0,02
ScintillaHighlighting.pb;SetBackgroundColor;176;0,04;0,04;3;0,01;0,01
TabBarGadget.pbi;TabBarGadget_ColorMinus;148;0,04;0,04;28;0,00;0,00
SourceManagement.pb;AnalyzeSettings_SourceFile;221;0,13;0,04;1;0,13;0,04
WindowsExtensions.pb;IsWindowMaximized;89;0,04;0,04;15;0,00;0,00
ScintillaHighlighting.pb;BuildIndentVT;16;0,05;0,05;1;0,05;0,05
ScintillaHighlighting.pb;UpdateSelectionRepeat;174;0,05;0,05;11;0,00;0,00
Language.pb;LanguageStringAddress;102;0,08;0,05;16;0,01;0,00
SourceManagement.pb;CheckAllSourcesSaved;290;713,16;0,05;1;713,16;0,05
SourceManagement.pb;AnalyzeSettings_Common;222;0,08;0,05;1;0,08;0,05
HighlightingFunctions.pb;GetWordBoundary;173;0,06;0,05;14;0,00;0,00
WindowsExtensions.pb;IsWindowMinimized;90;0,05;0,05;15;0,00;0,00
ProcedureBrowser.pb;ProcedureBrowser_EventHandler;108;0,05;0,05;28;0,00;0,00
WindowsExtensions.pb;GetPanelHeight;91;0,05;0,05;17;0,00;0,00
ProjectPanel.pb;UpdateProjectPanel;79;0,05;0,05;2;0,03;0,03
SourceParser.pb;BuildFoldingVT;14;0,08;0,05;1;0,08;0,05
TabBarGadget.pbi;TabBarGadget_Layout;70;0,06;0,06;25;0,00;0,00
TabBarGadget.pbi;TabBarGadget_ColorPlus;147;0,06;0,06;38;0,00;0,00
TabBarGadget.pbi;AddTabBarGadgetItem;131;0,27;0,06;2;0,13;0,03
TabBarGadget.pbi;TabBarGadget_ItemLength;145;0,06;0,06;22;0,00;0,00
WindowsExtensions.pb;ZeroMemory;160;0,07;0,07;16;0,00;0,00
ColorPicker.pb;ColorPicker_PreferenceLoad;22;0,07;0,07;1;0,07;0,07
CompilerInterface.pb;WaitForCompilerReady;194;984,94;0,07;1;984,94;0,07
HighlightingFunctions.pb;FindEnclosingFunction;172;0,11;0,07;10;0,01;0,01
HighlightingFunctions.pb;GenerateQuickHelpFromWord;271;0,14;0,07;5;0,03;0,01
HighlightingFunctions.pb;GenerateQuickHelpText;260;41,50;0,07;5;8,30;0,01
ScintillaHighlighting.pb;SetFoldState;287;0,07;0,07;66;0,00;0,00
FileSystem.pb;UniqueFilename;35;0,07;0,07;8;0,01;0,01
SourceParser.pb;ResolveItemType;266;40,70;0,08;3;13,57;0,03
TabBarGadget.pbi;TabBarGadget_DrawCross;150;0,08;0,08;22;0,00;0,00
TabBarGadget.pbi;SetTabBarGadgetState;139;0,20;0,08;7;0,03;0,01
SourceManagement.pb;UpdateSourceStatus;178;1,14;0,08;11;0,10;0,01
ScintillaHighlighting.pb;HideLineNumbers;129;2,71;0,09;8;0,34;0,01
ThemeManagement.pb;Theme_Close;41;0,09;0,09;2;0,04;0,04
TabBarGadget.pbi;TabBarGadget_MaxLength;67;0,09;0,09;26;0,00;0,00
Preferences.pb;LoadDialogPosition;17;0,09;0,09;18;0,01;0,01
HighlightingFunctions.pb;CheckStringComment;186;0,15;0,09;6;0,03;0,01
TabBarGadget.pbi;TabBarGadget_Examine;96;0,11;0,09;2;0,06;0,05
ScintillaHighlighting.pb;CountCharacters;155;0,10;0,10;39;0,00;0,00
ScintillaHighlighting.pb;ApplyWordChars;126;0,10;0,10;2;0,05;0,05
ColorPicker.pb;ColorPicker_PreferenceSave;307;0,10;0,10;1;0,10;0,10
SourceParser.pb;PartialSourceScan;262;1,14;0,10;9;0,13;0,01
UserInterface.pb;ErrorLog_Refresh;142;0,10;0,10;5;0,02;0,02
ScintillaHighlighting.pb;GetSourceModified;179;0,10;0,10;28;0,00;0,00
ScintillaHighlighting.pb;HasLineContinuation;257;0,23;0,10;25;0,01;0,00
CompilerWindow.pb;CompilerReady;195;984,87;0,10;1;984,87;0,10
WindowsExtensions.pb;StopGadgetFlickerFix;166;0,10;0,10;6;0,02;0,02
ShortcutManagement.pb;GetBaseKeyIndex;50;0,11;0,11;127;0,00;0,00
TabBarGadget.pbi;TabBarGadget_DrawArrow;72;0,11;0,11;27;0,00;0,00
Preferences.pb;SaveDialogPosition;304;0,13;0,13;18;0,01;0,01
ShortcutManagement.pb;BuildShortcutNamesTable;31;0,23;0,13;1;0,23;0,13
SourceParser.pb;IsContinuedLineStart;258;0,18;0,13;25;0,01;0,01
HighlightingFunctions.pb;DecodeNextLineState;286;0,15;0,15;67;0,00;0,00
ToolbarManagement.pb;ToolbarMenuImage;48;0,15;0,15;122;0,00;0,00
AddTools.pb;AddTools_Init;42;0,15;0,15;1;0,15;0,15
EditHistory.pb;History_FreeEvent;284;0,17;0,17;4;0,04;0,04
ScintillaHighlighting.pb;GetContinuationLine;171;0,44;0,17;11;0,04;0,02
ScintillaHighlighting.pb;GetLine;187;0,18;0,18;38;0,01;0,01
TabBarGadget.pbi;TabBarGadget_ItemLayout;69;0,18;0,18;47;0,00;0,00
ScintillaHighlighting.pb;UpdateKeywordHighlight;185;0,61;0,19;5;0,12;0,04
Templates.pb;Template_PreferenceLoad;26;0,19;0,19;1;0,19;0,19
WindowsMisc.pb;ToolsPanel_ApplyColors;73;0,19;0,19;8;0,02;0,02
WindowsMisc.pb;GetWindowMetrics;99;0,62;0,20;1;0,62;0,20
HighlightingFunctions.pb;QuickHelpFromLine;170;44,11;0,21;10;4,41;0,02
ScintillaHighlighting.pb;SendEditorFontMessage;128;0,26;0,21;9;0,03;0,02
UserInterface.pb;ErrorLog_SyncState;143;0,79;0,22;5;0,16;0,04
ScintillaHighlighting.pb;GetCursorPosition;154;0,28;0,22;21;0,01;0,01
IDEDebugger.pb;UpdateErrorLogMenuState;61;0,66;0,22;11;0,06;0,02
ZipManagement.pb;ScanZip;38;0,24;0,24;2;0,12;0,12
ScintillaHighlighting.pb;SetUpHighlightingColors;127;1,91;0,24;3;0,64;0,08
EditHistory.pb;HistoryCompilerLoaded;196;0,27;0,26;1;0,27;0,26
TabBarGadget.pbi;TabBarGadget_Callback;95;8,87;0,27;11;0,81;0,03
ScintillaHighlighting.pb;UpdateBraceHighlight;184;0,77;0,30;10;0,08;0,03
ScintillaHighlighting.pb;HideEditorGadget;152;0,30;0,30;6;0,05;0,05
TabBarGadget.pbi;TabBarGadget_PostUpdate;134;0,31;0,31;16;0,02;0,02
ProcedureBrowser.pb;ProcedureBrowser_DestroyFunction;295;0,32;0,32;1;0,32;0,32
WindowsMisc.pb;CreateSYSTEMMenu;101;0,42;0,33;1;0,42;0,33
TabBarGadget.pbi;UpdateTabBarGadget;64;9,82;0,35;15;0,65;0,02
WindowsMisc.pb;UpdateRegistryKey;4;0,35;0,35;6;0,06;0,06
ToolbarManagement.pb;InitToolbar;6;0,36;0,36;1;0,36;0,36
TabBarGadget.pbi;TabBarGadget;63;1,11;0,37;1;1,11;0,37
EditHistory.pb;History_GetOption;116;0,40;0,39;2;0,20;0,19
EditHistory.pb;HistoryEvent;181;0,63;0,40;4;0,16;0,10
Templates.pb;Template_Save;311;0,42;0,42;1;0,42;0,42
ShortcutManagement.pb;GetShortcutText;49;0,69;0,43;127;0,01;0,00
ShortcutManagement.pb;ShortcutMenuItem;47;1,29;0,46;127;0,01;0,00
ProjectPanel.pb;ProjectPanel_DestroyFunction;296;0,53;0,48;1;0,53;0,48
SourceManagement.pb;FileMonitorEvent;109;0,51;0,51;4;0,13;0,13
ScintillaHighlighting.pb;SetSourceModified;207;1,06;0,51;6;0,18;0,09
CompilerInterface.pb;CompilerCleanup;314;0,52;0,52;1;0,52;0,52
ShortcutManagement.pb;CreateKeyboardShortcuts;103;0,52;0,52;2;0,26;0,26
IDEDebugger.pb;SetDebuggerMenuStates;57;1,43;0,52;6;0,24;0,09
UserInterface.pb;CreateIDEPopupMenu;82;1,01;0,62;1;1,01;0,62
Misc.pb;EnsureWindowOnDesktop;112;0,67;0,67;1;0,67;0,67
ProcedureBrowser.pb;ProcedureBrowser_CreateFunction;77;0,73;0,72;1;0,73;0,72
ScintillaHighlighting.pb;FreeEditorGadget;285;0,82;0,81;1;0,82;0,81
ScintillaHighlighting.pb;ChangeActiveLine;288;2.825,02;0,85;1;2.825,02;0,85
ToolsPanel.pb;ToolsPanel_CreateFake_Windows;75;0,86;0,85;1;0,86;0,85
UserInterface.pb;UpdateMainWindowTitle;141;0,98;0,94;5;0,20;0,19
ScintillaHighlighting.pb;ResizeEditorGadget;151;1,00;1,00;7;0,14;0,14
WindowsExtensions.pb;SetListViewScroll;165;1,07;1,07;6;0,18;0,18
SourceParser.pb;Parser_Cleanup;245;1,14;1,14;528;0,00;0,00
ThemeManagement.pb;LoadTheme;36;69,50;1,15;1;69,50;1,15
UserInterface.pb;EventLoopCallback;107;1,28;1,28;588;0,00;0,00
WindowsMisc.pb;OSStartupCode;3;1,78;1,42;1;1,78;1,42
Language.pb;Language;32;1,42;1,42;354;0,00;0,00
EditHistory.pb;History_MakeUniqueId;120;1,44;1,44;2;0,72;0,72
SourceManagement.pb;ChangeNewLineType;218;1,47;1,47;1;1,47;1,47
UserInterface.pb;UpdateMenuStates;56;3,53;1,49;8;0,44;0,19
SourceManagement.pb;DetectNewLineType;217;1,54;1,54;1;1,54;1,54
TabBarGadget.pbi;TabBarGadget_Update;66;2,14;1,56;25;0,09;0,06
ProcedureBrowser.pb;UpdateProcedureList;162;2,80;1,58;6;0,47;0,26
ProcedureBrowser.pb;ProcedureBrowser_ResizeHandler;93;1,59;1,59;17;0,09;0,09
SourceParser.pb;IsLineContinuation;240;1,65;1,65;1.385;0,00;0,00
ZipManagement.pb;ExtractZip;39;1,71;1,71;272;0,01;0,01
UserInterface.pb;UpdateSourceContainer;94;13,13;1,72;14;0,94;0,12
TabBarGadget.pbi;TabBarGadget_Draw;71;7,99;1,83;25;0,32;0,07
UserInterface.pb;MainWindowEvents;106;717,87;2,04;588;1,22;0,00
Preferences.pb;LoadPreferences;12;61,98;2,11;1;61,98;2,11
TabBarGadget.pbi;TabBarGadget_DrawText;149;2,24;2,24;22;0,10;0,10
ScintillaHighlighting.pb;UpdateLineNumbers;130;2,68;2,65;9;0,30;0,29
TabBarGadget.pbi;TabBarGadget_StartDrawing;65;2,89;2,89;26;0,11;0,11
AutoComplete.pb;CreateAutoCompleteWindow;110;3,20;2,89;1;3,20;2,89
Language.pb;LoadLanguage;30;3,30;3,07;1;3,30;3,07
SourceParser.pb;Parser_GetPrototype;242;5,41;3,14;528;0,01;0,01
UserInterface.pb;DisableMenuAndToolbarItem;60;3,29;3,29;524;0,01;0,01
UserInterface.pb;ChangeStatus;169;3,30;3,30;17;0,19;0,19
RecentFiles.pb;RecentFiles_AddMenuEntries;51;3,44;3,42;2;1,72;1,71
Preferences.pb;SavePreferences;303;4,24;3,49;1;4,24;3,49
HighlightingEngine.pb;InitSyntaxCheckArrays;7;65,38;3,51;2;32,69;1,76
TabBarGadget.pbi;TabBarGadget_DrawItem;146;6,05;3,64;22;0,28;0,17
ProjectPanel.pb;ProjectPanel_CreateFunction;78;3,83;3,76;1;3,83;3,76
ScintillaHighlighting.pb;StreamTextIn;223;4,55;3,89;1;4,55;3,89
RecentFiles.pb;RecentFiles_AddFile;229;4,06;3,99;1;4,06;3,99
UserInterface.pb;ResizeMainWindow;88;18,44;4,23;12;1,54;0,35
HighlightingEngine.pb;HighlightCommentIssues;253;45,37;4,48;781;0,06;0,01
HighlightingEngine.pb;CopyMemoryCheck;251;4,60;4,60;4.358;0,00;0,00
TabBarGadget.pbi;TabBarGadget_StopDrawing;68;5,12;5,12;26;0,20;0,20
SourceParser.pb;Parser_SkipType;241;5,62;5,62;5.036;0,00;0,00
UserInterface.pb;DispatchEvent;105;724,27;6,41;595;1,22;0,01
EditHistory.pb;History_FlushEvents;300;6,72;6,52;1;6,72;6,52
SourceParser.pb;Parser_PopState;248;6,84;6,84;7.064;0,00;0,00
ThemeManagement.pb;Theme_Open;37;7,32;6,95;2;3,66;3,48
AutoComplete.pb;AutoComplete_InitContextConstants;201;7,38;7,38;1;7,38;7,38
SourceParser.pb;Parser_PushState;247;7,46;7,46;7.064;0,00;0,00
ScintillaHighlighting.pb;IsFoldPoint;205;7,52;7,52;8.056;0,00;0,00
RadixTree.pb;RadixFindPrefix;256;7,89;7,89;3.258;0,00;0,00
SourceParser.pb;Parser_SkipPrototype;243;7,90;7,90;7.324;0,00;0,00
SourceParser.pb;Parser_SkipBraces;244;8,17;8,17;7.328;0,00;0,00
SourceManagement.pb;UpdateCursorPosition;153;8,65;8,23;16;0,54;0,51
RadixTree.pb;RadixLookupValue;255;16,29;8,40;3.258;0,01;0,00
HighlightingEngine.pb;IsKnownConstant;254;24,75;8,48;3.247;0,01;0,00
UserInterface.pb;CreateGUI;44;262,35;8,89;1;262,35;8,89
SourceParser.pb;SortParserData;136;95,68;9,18;10;9,57;0,92
SourceParser.pb;Parser_AddSorted;270;38,64;9,19;2.484;0,02;0,00
CompilerInterface.pb;KillCompiler;312;9,69;9,69;1;9,69;9,69
Commandline.pb;ParseCommandline;2;11,51;11,51;1;11,51;11,51
ScintillaHighlighting.pb;CreateEditorGadget;124;13,06;11,68;2;6,53;5,84
Explorer.pb;UpdateExplorerPatterns;81;12,10;12,06;1;12,10;12,06
HighlightingFunctions.pb;ApplyFoldingInformation;208;22,01;14,27;2;11,00;7,14
HighlightingEngine.pb;IsAPIFunction;246;16,15;15,22;10.797;0,00;0,00
HighlightingEngine.pb;IsBasicFunction;236;17,48;17,48;17.471;0,00;0,00
Issues.pb;ScanCommentIssues;238;17,73;17,73;7.645;0,00;0,00
ToolbarManagement.pb;CreateIDEToolBar;86;25,84;23,15;1;25,84;23,15
SourceManagement.pb;NewSource;121;36,86;24,59;2;18,43;12,30
SourceParser.pb;Parser_GetVariables;239;50,55;25,40;1.624;0,03;0,02
EditHistory.pb;DetectCrashedHistorySession;193;41,42;41,42;1;41,42;41,42
UserInterface.pb;CreateIDEMenu;46;50,02;44,89;1;50,02;44,89
HighlightingEngine.pb;IsCustomKeyword;250;46,25;46,25;28.971;0,00;0,00
SourceParser.pb;Parser_Comment;237;86,47;51,90;7.584;0,01;0,01
StructureViewer.pb;InitStructureViewer;199;637,34;53,47;1;637,34;53,47
SourceParser.pb;FreeSourceItemArray;157;149,91;57,87;8;18,74;7,23
ThemeManagement.pb;Theme_LoadImage;40;60,95;59,38;308;0,20;0,19
SourceParser.pb;AddSourceItem;232;60,53;60,53;48.929;0,00;0,00
Explorer.pb;Explorer_CreateFunction;80;81,23;69,05;1;81,23;69,05
CompilerInterface.pb;StartCompiler;33;72,55;72,53;1;72,55;72,53
UserInterface.pb;FlushEvents;104;127,87;74,03;7;18,27;10,57
SourceParser.pb;FreeSourceItems;159;81,64;81,64;56.393;0,00;0,00
HighlightingEngine.pb;ByteUcase;198;85,05;85,05;69.762;0,00;0,00
ToolsPanel.pb;ToolsPanel_Create;74;172,66;85,81;1;172,66;85,81
RadixTree.pb;Radix_AllocNode;11;97,19;97,19;46.770;0,00;0,00
RadixTree.pb;Radix_FreeNode;9;99,17;99,17;5.273;0,02;0,02
EditHistory.pb;StartHistorySession;115;106,50;104,83;1;106,50;104,83
ScintillaHighlighting.pb;IsInsideASMBlock;183;113,07;113,07;55.373;0,00;0,00
HighlightingEngine.pb;IsBasicKeyword;15;114,03;114,03;30.688;0,00;0,00
SourceParser.pb;Parser_GetWord;231;122,67;122,67;89.196;0,00;0,00
RadixTree.pb;RadixFree;8;152,56;139,40;107;1,43;1,30
HighlightingEngine.pb;IsDecNumber;234;234,69;159,74;61.367;0,00;0,00
WindowsMisc.pb;MainWindowCallback;100;166,81;166,81;70.946;0,00;0,00
EditHistory.pb;EndHistorySession;299;211,91;205,05;1;211,91;205,05
Macro.pb;ToAscii;125;212,57;212,57;155.777;0,00;0,00
RadixTree.pb;RadixInsert;10;312,63;215,44;33.431;0,01;0,01
EditHistory.pb;History_AsyncDeleteEvent;279;229,32;227,74;2;114,66;113,87
HighlightingEngine.pb;InitSyntaxHighlighting;197;338,72;230,78;1;338,72;230,78
PureBasic.pb;ShutdownIDE;292;268,97;268,78;1;268,97;268,78
SourceParser.pb;Parser_ModulePrefix;230;364,92;296,59;172.234;0,00;0,00
SourceParser.pb;Parser_GetUnknownWord;233;654,54;351,61;37.729;0,02;0,01
HighlightingEngine.pb;HighlightingEngine;206;2.830,50;385,58;6;471,75;64,26
StructureViewer.pb;LoadConstantList;200;559,91;410,20;1;559,91;410,20
EditHistory.pb;History_WriteEvent;182;442,68;421,12;4;110,67;105,28
SourceParser.pb;FullSourceScan;156;2.466,84;616,49;7;352,40;88,07
SourceManagement.pb;ChangeActiveSourcecode;135;2.145,77;698,73;5;429,15;139,75
SourceManagement.pb;RemoveSource;249;794,82;760,12;1;794,82;760,12
ScintillaHighlighting.pb;UpdateFolding;161;897,32;838,39;7;128,19;119,77
SourceParser.pb;ScanBuffer;158;2.316,69;1.252,43;16;144,79;78,28
ScintillaHighlighting.pb;HighlightCallback;252;2.142,52;1.926,52;55.363;0,04;0,04
SourceManagement.pb;LoadSourceFile;211;5.678,39;4.339,00;1;5.678,39;4.339,00
EditHistory.pb;History_EventThread;123;12.230,37;6.359,97;5;2.446,07;1.271,99
Re: Very slow editor - independent of settings
The Tools panel has been removed from the settings.
Here is the flow of the functions with 'IsPreferenceChanged' and 'UserInterface::DispatchEvent'. These functions are called 165 times in your data.
Peter
Here is the flow of the functions with 'IsPreferenceChanged' and 'UserInterface::DispatchEvent'. These functions are called 165 times in your data.
Peter
Code: Select all
PureBasic.exe 07506:In : >UserInterface.pb::EventLoopCallback[-1]
PureBasic.exe 07507:Out: <UserInterface.pb::EventLoopCallback[-1]
PureBasic.exe 07508:In : >UserInterface.pb::DispatchEvent[-1]
PureBasic.exe 07509:In : . >Preferences.pb::PreferencesWindowEvents[-1]
PureBasic.exe 07510:In : . . >Preferences.pb::IsPreferenceChanged[-1]
PureBasic.exe 07511:In : . . . >ThemeManagement.pb::PrefsThemeChanged[-1]
PureBasic.exe 07512:Out: . . . <ThemeManagement.pb::PrefsThemeChanged[-1]
PureBasic.exe 07513:In : . . . >Explorer.pb::Explorer_PreferenceChanged[-1]
PureBasic.exe 07514:Out: . . . <Explorer.pb::Explorer_PreferenceChanged[-1]
PureBasic.exe 07515:In : . . . >ProcedureBrowser.pb::ProcedureBrowser_PreferenceChanged[-1]
PureBasic.exe 07516:Out: . . . <ProcedureBrowser.pb::ProcedureBrowser_PreferenceChanged[-1]
PureBasic.exe 07517:In : . . . >VariableViewer.pb::VariableViewer_PreferenceChanged[-1]
PureBasic.exe 07518:Out: . . . <VariableViewer.pb::VariableViewer_PreferenceChanged[-1]
PureBasic.exe 07519:In : . . . >HelpTool.pb::Help_PreferenceChanged[-1]
PureBasic.exe 07520:Out: . . . <HelpTool.pb::Help_PreferenceChanged[-1]
PureBasic.exe 07521:In : . . . >Templates.pb::Template_PreferenceChanged[-1]
PureBasic.exe 07522:Out: . . . <Templates.pb::Template_PreferenceChanged[-1]
PureBasic.exe 07523:Out: . . <Preferences.pb::IsPreferenceChanged[-1]
PureBasic.exe 07524:Out: . <Preferences.pb::PreferencesWindowEvents[-1]
PureBasic.exe 07525:Out: <UserInterface.pb::DispatchEvent[-1]
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
The tools panel wasn't removed, it's visible. Ok, I only need the procedure browser, so I removed all other tools, but the panel is there.
Hmmm.... what does that mean for me?PeDe wrote: Fri Oct 25, 2024 8:04 pm Here is the flow of the functions with 'IsPreferenceChanged' and 'UserInterface::DispatchEvent'. These functions are called 165 times in your data.
Re: Very slow editor - independent of settings
Maybe it helps if you disable the session history at the preferences ?
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
I already tried that - no effectBisonte wrote: Fri Oct 25, 2024 8:48 pm Maybe it helps if you disable the session history at the preferences ?

Re: Very slow editor - independent of settings
How many compilers do you have connected? As far as I know, compilers are loaded into memory when the IDE starts. I think that the compiler is loaded after opening the pb files, but the cursor is not yet available. Previously, if you press F5 right away, the IDE will display a message that the compiler has not yet been loaded, try again later.
Unlike a regular editor, the IDE generates an auto-completion list. When you write structures, the autocompletion engine offers to insert structure fields from a pop-up menu. And during compilation, when you hover over variables, a message about the state of the variable pops up, that is, the IDE creates a list of variables. But perhaps it does this when running with the debugger.
In theory, reading the settings should be very fast. For a test, you can create one hundred parameters and read them 100 times in a loop. I tested it and it was very fast. ini file contains 950 parameters. I assume that when a group is selected, the parameters are loaded into memory and reading occurs within the group, which is why the speed is high
Unlike a regular editor, the IDE generates an auto-completion list. When you write structures, the autocompletion engine offers to insert structure fields from a pop-up menu. And during compilation, when you hover over variables, a message about the state of the variable pops up, that is, the IDE creates a list of variables. But perhaps it does this when running with the debugger.
In theory, reading the settings should be very fast. For a test, you can create one hundred parameters and read them 100 times in a loop. I tested it and it was very fast. ini file contains 950 parameters. I assume that when a group is selected, the parameters are loaded into memory and reading occurs within the group, which is why the speed is high
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
It's a clean/new installation - so it is 1 compiler only.
Re: Very slow editor - independent of settings
Reading speed test PureBasic.prefs = 0 milliseconds
individual reading
Code: Select all
DisableDebugger
Global ini$ = GetHomeDirectory() + "AppData\Roaming\PureBasic\PureBasic.prefs"
Global count, StartTime
Global NewList Groups.s()
Debug ini$
StartTime = ElapsedMilliseconds()
OpenPreferences(ini$)
ExaminePreferenceGroups()
While NextPreferenceGroup()
AddElement(Groups())
Groups() = PreferenceGroupName()
Debug PreferenceGroupName()
Wend
ForEach Groups()
PreferenceGroup(Groups())
ExaminePreferenceKeys()
While NextPreferenceKey()
Debug PreferenceKeyName() + " = " + PreferenceKeyValue()
count + 1
Wend
Next
ClosePreferences()
EnableDebugger
Debug count
Debug Str(ElapsedMilliseconds() - StartTime) + " ms"
Code: Select all
DisableDebugger
Global ini$ = GetHomeDirectory() + "AppData\Roaming\PureBasic\PureBasic.prefs"
Global count, StartTime
Structure GroupsKeys
Groups.s
List Key.s()
EndStructure
Global NewList Groups.GroupsKeys()
Debug ini$
StartTime = ElapsedMilliseconds()
OpenPreferences(ini$)
ExaminePreferenceGroups()
While NextPreferenceGroup()
AddElement(Groups())
Groups()\Groups = PreferenceGroupName()
Debug PreferenceGroupName()
Wend
ForEach Groups()
PreferenceGroup(Groups()\Groups)
ExaminePreferenceKeys()
While NextPreferenceKey()
AddElement(Groups()\Key())
Groups()\Key() = PreferenceKeyName()
count + 1
Wend
RandomizeList(Groups()\Key()) ; an extra action so that further reading does not use the order
Next
ForEach Groups()
PreferenceGroup(Groups()\Groups)
ForEach Groups()\Key()
Debug ReadPreferenceString(Groups()\Key() , "")
Next
Next
ClosePreferences()
EnableDebugger
Debug "————————"
Debug count
Debug Str(ElapsedMilliseconds() - StartTime) + " ms"
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
My result:
and864
0 ms
Whatever this means...?————————
864
0 ms
Re: Very slow editor - independent of settings
I looked at your previous posts and concluded that you have a weak computer. The test results show that you have a uniform increase in time in all parameters in your environment. The fact that Notepad++ works quickly must be taken into account, what I said above - the IDE has a more specialized autocompletion engine for structures, a list of variables, compiler loading, and a function analyzer. If you are more comfortable working in Notepad++, then just use it (functions, lexer). You can also use AkelPad.
dangerfreak wrote: Thu Oct 24, 2024 9:16 amMy result:ChrisR wrote: Thu Oct 24, 2024 8:57 am Here on my laptop:Code: Select all
EnsureWindowOnDesktop = 267 General = 32 Editor = 32 Compiler = 1 Debugger = 1 ToolsPanel = 2 Total OpenPreferencesWindow Time = 411
EnsureWindowOnDesktop = 1050
General = 334
Editor = 180
Compiler = 9
Debugger = 3
ToolsPanel = 9
Total OpenPreferencesWindow Time = 1997
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
The problem is: The IDE works fast on a computer with low resources (CPU/RAM/...). On all my other computers with much better hardware, the IDE is slow.
I don't want to use Notepad++ - it's nice, but I want to use the PB IDE.
I don't want to use Notepad++ - it's nice, but I want to use the PB IDE.