Author Topic: The joy of beating the CRT by a factor 10  (Read 1999 times)

LiaoMi

  • Member
  • *****
  • Posts: 1051
Re: The joy of beating the CRT by a factor 10
« Reply #15 on: May 06, 2022, 09:22:09 PM »
**** generating 10000 random numbers & writing them to a buffer ****
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (SSE4)
+++++++++++9 of 20 tests valid,
4686    kCycles for 10 * random Str$()  MasmBasic
7285    kCycles for 10 * random dwtoa   Masm32 SDK
11436   kCycles for 10 * random Str$()  MasmBasic with saving
11748   kCycles for 10 * random dwtoa   Masm32 SDK with saving
47242   kCycles for 10 * random sprintf CRT
53419   kCycles for 10 * random sprintf CRT with saving

4745    kCycles for 10 * random Str$()  MasmBasic
7507    kCycles for 10 * random dwtoa   Masm32 SDK
9678    kCycles for 10 * random Str$()  MasmBasic with saving
12300   kCycles for 10 * random dwtoa   Masm32 SDK with saving
45147   kCycles for 10 * random sprintf CRT
53920   kCycles for 10 * random sprintf CRT with saving

4928    kCycles for 10 * random Str$()  MasmBasic
7463    kCycles for 10 * random dwtoa   Masm32 SDK
9880    kCycles for 10 * random Str$()  MasmBasic with saving
11934   kCycles for 10 * random dwtoa   Masm32 SDK with saving
59330   kCycles for 10 * random sprintf CRT
52693   kCycles for 10 * random sprintf CRT with saving

101     bytes for random Str$()  MasmBasic
113     bytes for random dwtoa   Masm32 SDK
89      bytes for random Str$()  MasmBasic with saving
90      bytes for random dwtoa   Masm32 SDK with saving
121     bytes for random sprintf CRT
89      bytes for random sprintf CRT with saving

--- ok ---

jj2007

  • Member
  • *****
  • Posts: 13857
  • Assembly is fun ;-)
    • MasmBasic
Re: The joy of beating the CRT by a factor 10
« Reply #16 on: May 06, 2022, 10:08:58 PM »
Crash
Code: [Select]
not found (line 49):    InstrDLL

Sorry - wrong archive. Attached the good one, the DLL must be extracted to the executable's folder.

@LiaoMi: Thanks :thup: