Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
turborium committed Nov 11, 2023
2 parents 9339da5 + 24de168 commit c099a6d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Pascal/Test/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,24 @@
```-size <small|medium|large>``` - Select count of test cases, ```small``` by default
```-benchmark``` - Run benchmark, you can add bench "C" version with use ```-c``` param

```-dll <dll name>``` - Test your DLL
```-function <function name>``` - Chose ParseFloat function from DLL
(The function MUST corresponds to standart DLL Pascal/C FFI interface - see C version)

For this application to work, two DLLs IeeeConvert64.dll and IeeeConvert32.dll are required, they provide reference values.
This DLLs are already included in this repository, but you can build them yourself: https://github.com/turborium/IeeeConvertDynamicLibrary

To check the "C" version of the parser you need to build pure_parse_float_c_32.dll and pure_parse_float_c_64.dll.
To check the "C" version of the parser you need to build pure_parse_float_c_32.dll and pure_parse_float_c_64.dll.

**For example:**
Check:```Test.32.exe -size medium -parser pure```
Benchmark:```Test.32.exe -benchmark```
Benchmark with C version:```Test.32.exe -benchmark -c```

To check your DLL place DLL and set ```-dll``` and ```-name``` params.
**For example:**
Check *rust32.dll*: ```Test.32.exe -size medium -dll rust32.dll -function parse_float```
Check *rust64.dll*: ```Test.64.exe -size medium -dll rust64.dll -function parse_float```
Benchmark *rust32.dll*: ```Test.32.exe -benchmark -dll rust32.dll -function parse_float```
Benchmark *rust64.dll*: ```Test.64.exe -benchmark -dll rust64.dll -function parse_float```

0 comments on commit c099a6d

Please sign in to comment.