Below the result.
Code: Select all
Profiling results:
------------------
Executable name: c:/portio.exe
Launched on: 08-03-2005, 09:08:12
Total program execution time: 22.03 seconds
Per function timings:
Function: Time: Total%: Proc%:
(main) 22.03000 100.00%
_fb_StrCompare 4.10000 18.61% 18.61%
_fb_UCASE 2.39000 10.85% 10.85%
_fb_ConsoleInput 2.08000 9.44% 9.44%
_DOSMSEC 1.31000 5.95% 5.95%
_fb_Inkey 1.28000 5.81% 5.81%
_fb_StrAssign 1.14000 5.17% 5.17%
_DIAGNOSTIC 1.10000 4.99% 4.99%
_SETPORT 0.06000 0.27% 0.27%
_fb_StrAllocTempDescF 0.00000 0.00% 0.00%
_fb_PrintString 0.00000 0.00% 0.00%
_fb_InputInt 0.00000 0.00% 0.00%
_PORTCONFIG 0.00000 0.00% 0.00%
_fb_Cls 0.00000 0.00% 0.00%
_fb_ErrorSetHandler 0.00000 0.00% 0.00%
_KEYASSIGN 0.00000 0.00% 0.00%
_fb_Locate 0.00000 0.00% 0.00%
_fb_PrintInt 0.00000 0.00% 0.00%
_BINCONVERT 0.55000 2.50%
_fb_StrConcatAssign 0.22000 1.00% 40.00%
_fb_StrAssign 0.00000 0.00% 0.00%
_DIAGNOSTIC 1.10000 4.99%
_BINCONVERT 0.55000 2.50% 50.00%
_inportb 0.11000 0.50% 10.00%
_fb_Locate 0.05000 0.23% 4.55%
_fb_PrintString 0.05000 0.23% 4.55%
_fb_PrintInt 0.00000 0.00% 0.00%
_fb_StrAllocTempDescF 0.00000 0.00% 0.00%
_fb_Cls 0.00000 0.00% 0.00%
_fb_StrDelete 0.00000 0.00% 0.00%
_KEYASSIGN 0.00000 0.00%
_fb_StrDelete 0.00000 0.00% 0.00%
_fb_StrAssign 0.00000 0.00% 0.00%
_PORTCONFIG 0.00000 0.00%
_outportb 0.00000 0.00% 100.00%
_SETPORT 0.06000 0.27%
_fb_PrintString 0.06000 0.27% 100.00%
_inportb 0.00000 0.00% 0.00%
_fb_StrConcat 0.00000 0.00% 0.00%
_fb_HEX_b 0.00000 0.00% 0.00%
_fb_Locate 0.00000 0.00% 0.00%
Global timings:
(main) 22.03000 (100.00%)
_fb_StrCompare 4.10000 (18.61%)
_fb_UCASE 2.39000 (10.85%)
_fb_ConsoleInput 2.08000 (9.44%)
_DOSMSEC 1.31000 (5.95%)
_fb_Inkey 1.28000 (5.81%)
_DIAGNOSTIC 1.10000 (4.99%)
_BINCONVERT 0.55000 (2.50%)
_fb_StrConcatAssign 0.22000 (1.00%)
_inportb 0.11000 (0.50%)
_SETPORT 0.06000 (0.27%)
_fb_Locate 0.05000 (0.23%)
_fb_PrintString 0.05000 (0.23%)
_fb_StrAssign 0.00000 (0.00%)
_fb_PrintInt 0.00000 (0.00%)
_fb_StrAllocTempDescF 0.00000 (0.00%)
_fb_InputInt 0.00000 (0.00%)
_outportb 0.00000 (0.00%)
_PORTCONFIG 0.00000 (0.00%)
_fb_Cls 0.00000 (0.00%)
_fb_ErrorSetHandler 0.00000 (0.00%)
_KEYASSIGN 0.00000 (0.00%)
_fb_StrConcat 0.00000 (0.00%)
_fb_HEX_b 0.00000 (0.00%)
_fb_StrDelete 0.00000 (0.00%)
Will do another test with no string operations in qb or Fb
Regards