Author Topic: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH  (Read 15625 times)

jj2007

  • Member
  • *****
  • Posts: 10649
  • Assembler is fun ;-)
    • MasmBasic
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #15 on: May 29, 2013, 08:51:58 PM »
now, it says no file for C:\masm32\examples, which is incorrect

sh....  what's wrong today ::)
Can you post the header. e.g. Commandline=[?], testing [C:\Masm32\Examples\*] ?

dedndave

  • Member
  • *****
  • Posts: 8827
  • Still using Abacus 2.0
    • DednDave
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #16 on: May 29, 2013, 09:01:47 PM »

Code: [Select]
Intel(R) Pentium(R) 4 CPU 3.00GHz (MMX, SSE, SSE2, SSE3)
Microsoft Windows XP
Test FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH flags
K7NL, 04:00:55
Commandline=[?], testing [C:\Masm32\Examples\*]

dedndave

  • Member
  • *****
  • Posts: 8827
  • Still using Abacus 2.0
    • DednDave
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #17 on: May 29, 2013, 09:03:15 PM »
by the way, i have examples from different versions in the Masm32 folder
Examples_v7, Examples_v10, Examples_v11   :biggrin:

to run your test, i have renamed Examples_v11 to Examples

also, i have added some of my own examples - lol
(which i have temporarily moved elsewhere)

Gunther

  • Member
  • *****
  • Posts: 3585
  • Forgive your enemies, but never forget their names
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #18 on: May 29, 2013, 11:36:26 PM »
Jochen,

here the results from your latest version:

Code: [Select]
c:\scratch02>GetFilesEx.exe C:\Program Files
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SS
E4.2, AVX)
Windows 7 Professional
Test FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH flags
Line 18: Get/SetRegVal failed , 15:31:09
Commandline=[C:\Program Files], testing [C:\Program Files\*]

112 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
79 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

120 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
80 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

97 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

78 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

116 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
78 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

99 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

103 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
100 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
102 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
99 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

103 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
102 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
102 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
99 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

102 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
...
1914 bytes in LogJJ.txt created 15:31:11, last #folders=27
Total ms by flag setting, ignoring first 2 runs:
668 ms for flags OFF
712 ms for flags ON
c:\scratch02>

Gunther
Get your facts first, and then you can distort them.

xandaz

  • Member
  • **
  • Posts: 152
  • I luv you babe
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #19 on: May 30, 2013, 08:27:57 AM »
   Where did u get those counting macros? that's michael w's right? i searched but no luck. anyone has link?
tyx
nothing to report.

jj2007

  • Member
  • *****
  • Posts: 10649
  • Assembler is fun ;-)
    • MasmBasic
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #20 on: May 30, 2013, 08:54:34 AM »
Where did u get those counting macros?

NanoTimer() is part of MasmBasic. It's a standalone macro, you'll find it in \Masm32\MasmBasic\MasmBasic.inc (you can search the file for QueryPerformanceCounter).

xandaz

  • Member
  • **
  • Posts: 152
  • I luv you babe
Re: FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH
« Reply #21 on: June 06, 2013, 09:25:33 AM »
ty jj
nothing to report.