Re: New release of IntToStr and Sort Benchmark and validation tools



I posted in the attachments group an update of my IntToStr(Integer) and my first release of IntToStr(Int64).

Both results are really desapointing. Converting packed BCD to unpacked BCD is really slow (maybe I forgot some instructions that make it quickly).


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

Compiler used: Delphi7
CPU type: Intel Pentium III (GenuineIntel, type 0, family 6, model B, stepping 1 @ 863,8 MHz)
Windows version: Windows 2000 (NT.5.0.2195) Service Pack 4



Name Align SubBench1 SubBench2 SubBench3 SubBench4 SubBench5 SubBench6 Bench

IntToStr (RTL)		0	2683	2362	2488	2285	2198	2407	14423
IntToStr_JOH_IA32_1	C	217	173	221	483	157	227	1478
IntToStr_JOH_Pas_1	0	439	458	673	651	426	675	3322
IntToStrOUC (IA32)	8	1432	1072	936	1307	1000	915	6662

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

Compiler used: Delphi7
CPU type: Intel Pentium III (GenuineIntel, type 0, family 6, model B, stepping 1 @ 863,8 MHz)
Windows version: Windows 2000 (NT.5.0.2195) Service Pack 4



Name Align SubBench1 SubBench2 SubBench3 SubBench4 SubBench5 SubBench6 Bench

IntToStrOUC (IA32)	0	1093	1949	1948	957	1946	1966	9859
IntToStr (RTL)		C	2003	2047	2046	2025	2050	2049	12220


-- Florent Ouchet .