Re: IntToStr B&V v0.5 on attachments



Avatar Zondertau wrote:
Yet another small update.


All functions in the B&V currently pass (simple) validation. My
benchmark results are found below. I must say i'm very surprised about
the results for the IntToStr64 challenge: RTL is fastest and *much*
faster than JOH.



Benchmark report for IntToStr challenge (B&V version 0.5)

Compiler used: Delphi7
CPU type: Intel(R) Pentium(R) M processor 1.60GHz - Intel Pentium M
[Dothan], GenuineIntel, type 0, family 6, model D, stepping 6, 1598,6
MHz
Windows version: Windows XP (NT.5.1.2600) Service Pack 2


Name Align SubBench1 SubBench2 SubBench3 SubBench4 SubBench5 SubBench6 Bench

IntToStr (RTL)	8	1009	1029	1137	1007	1016	1140	6338
IntToStr_AI_PAS_5	8	434	406	557	376	397	551	2721
IntToStr_JOH_IA32_1	8	58	52	78	180	44	75	487
IntToStr_JOH_PAS_1	C	101	128	263	225	116	258	1091
IntToStr_LBG_PAS_1	4	489	470	694	434	447	680	3214
IntToStr_Ouc_IA32_1	4	760	556	480	644	536	477	3453
IntToStr_Ouc_IA32_2	0	740	554	482	636	529	478	3419



Benchmark report for IntToStr64 challenge (B&V version 0.5)

Compiler used: Delphi7
CPU type: Intel(R) Pentium(R) M processor 1.60GHz - Intel Pentium M
[Dothan], GenuineIntel, type 0, family 6, model D, stepping 6, 1598,6
MHz
Windows version: Windows XP (NT.5.1.2600) Service Pack 2


Name Align SubBench1 SubBench2 SubBench3 SubBench4 SubBench5 SubBench6 Bench

IntToStr (RTL)	4	1005	999	997	916	1000	1003	5920
IntToStr64_AI_PAS_5	C	1145	1479	1483	1042	1476	1458	8083
IntToStr64_JOH_IA32_1	C	88	3509	3547	191	3509	3479	14323
IntToStr64_JOH_PAS_1	C	98	3620	3653	212	3619	3580	14782

Benchmark report for IntToStr challenge (B&V version 0.5)

Compiler used: Delphi6
CPU type: AMD Athlon(TM) XP 1800+ - AMD Athlon [Thoroughbred], AuthenticAMD, type 0, family 6, model 8, stepping 1, 1533,4 MHz
Windows version: Windows XP (NT.5.1.2600) Service Pack 2


Name Align SubBench1 SubBench2 SubBench3 SubBench4 SubBench5 SubBench6 Bench

IntToStr (RTL)		4	1625	1425	1489	1437	1355	1481	8812
IntToStr_AI_PAS_5	0	384	375	496	325	355	493	2428
IntToStr_JOH_IA32_1	0	36	43	89	163	34	84	449
IntToStr_JOH_PAS_1	4	157	210	356	261	189	350	1523
IntToStr_LBG_PAS_1	C	665	674	908	556	647	898	4348
IntToStr_Ouc_IA32_1	C	812	612	523	694	580	511	3732
IntToStr_Ouc_IA32_2	8	854	637	523	721	607	515	3857


Benchmark report for IntToStr64 challenge (B&V version 0.5)

Compiler used: Delphi6
CPU type: AMD Athlon(TM) XP 1800+ - AMD Athlon [Thoroughbred], AuthenticAMD, type 0, family 6, model 8, stepping 1, 1533,4 MHz
Windows version: Windows XP (NT.5.1.2600) Service Pack 2


Name Align SubBench1 SubBench2 SubBench3 SubBench4 SubBench5 SubBench6 Bench

IntToStr (RTL)		4	1585	10403	10671	1448	10389	10411	44907
IntToStr64_AI_PAS_5	4	965	1329	1356	881	1379	1286	7196
IntToStr64_JOH_IA32_1	4	75	2550	2561	182	2562	2521	10451
IntToStr64_JOH_PAS_1	4	141	2692	2704	233	2683	2652	11105

.



Relevant Pages

  • Re: System Properties
    ... > In System Properties on my XP Pro laptop, on the first screen, it displays ... > the CPU type and RAM total. ... > Intel Pentium M Processor 1400MHz ... > 587MHz refer to? ...
    (microsoft.public.windowsxp.general)
  • System Properties
    ... In System Properties on my XP Pro laptop, on the first screen, it displays ... the CPU type and RAM total. ... Intel Pentium M Processor 1400MHz ...
    (microsoft.public.windowsxp.general)