888 Commits

Author SHA1 Message Date
IRainman
6687e734b0 Tests are updated. 2025-03-28 17:49:40 +03:00
IRainman
a2d81d42ee Merge branch 'main' of https://github.com/IRainman/fast_float 2025-03-28 16:22:05 +03:00
IRainman
01e9d35455 Tests updated and fixed. 2025-03-28 16:21:59 +03:00
HedgehogInTheCPP
82477e9310
Update README.md 2025-03-27 22:05:43 +03:00
HedgehogInTheCPP
67aeda07ad
Update README.md 2025-03-27 21:50:52 +03:00
HedgehogInTheCPP
922eaa135d
Merge branch 'fastfloat:main' into main 2025-03-27 17:26:21 +03:00
Daniel Lemire
c5a3ca37c4
Merge pull request #312 from fastfloat/dependabot/github_actions/github-actions-ce77f7460b
Bump jidicula/clang-format-action from 4.14.0 to 4.15.0 in the github-actions group
2025-03-25 09:58:53 -04:00
IRainman
edb51b3e68 . 2025-03-24 12:59:52 +03:00
IRainman
0340e8bb25 build fix. 2025-03-24 12:57:32 +03:00
IRainman
3eaa7d7668 compilation fix. 2025-03-24 12:51:43 +03:00
IRainman
d1617abda4 Merge branch 'main' of https://github.com/IRainman/fast_float 2025-03-24 12:42:04 +03:00
IRainman
a2437735b1 try to compilation fix on Linux 2025-03-24 12:40:34 +03:00
IRainman
23395e4f10 try to compilation fix on Linux 2025-03-24 12:38:49 +03:00
IRainman
1e3a135b8d reduce register pressure. 2025-03-24 11:45:33 +03:00
IRainman
9688b3bdf7 improvements in benchmark.
added support for free license for PVS-Studio for open source project (needs recheck by team, I found some strange errors in library, but not fully understand it)
2025-03-24 11:31:44 +03:00
IRainman
c598a994e6 fix a warning. 2025-03-24 11:15:24 +03:00
IRainman
ffd3590a42 benchmarks are improved: back to the cycle metering because when USING_COUNTERS is enabled it's consumed to much resources. 2025-03-24 10:35:55 +03:00
dependabot[bot]
d42004eca2
Bump jidicula/clang-format-action in the github-actions group
Bumps the github-actions group with 1 update: [jidicula/clang-format-action](https://github.com/jidicula/clang-format-action).


Updates `jidicula/clang-format-action` from 4.14.0 to 4.15.0
- [Release notes](https://github.com/jidicula/clang-format-action/releases)
- [Commits](d05cecd4a1...4726374d1a)

---
updated-dependencies:
- dependency-name: jidicula/clang-format-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 00:53:11 +00:00
Daniel Lemire
3f7ff422bf
Merge pull request #311 from ADKaster/reference-ak
README: Reference SerenityOS/Ladybird Browser implementation
2025-03-21 13:00:42 -04:00
Andrew Kaster
b3fe1e63cf README: Reference SerenityOS/Ladybird Browser implementation 2025-03-21 10:29:13 -06:00
IRainman
0188112c8f compilation fix in some old compilers. 2025-03-13 00:37:46 +03:00
IRainman
cd5db6f5e9 lint 2025-03-12 21:34:31 +03:00
IRainman
c08b7b12a6 tests updated 2025-03-12 21:26:31 +03:00
IRainman
929e98182e lint 2025-03-12 21:13:20 +03:00
IRainman
1ab438cf7a Tests are updated. 2025-03-12 21:03:53 +03:00
IRainman
2db26df2b8 Remove consexpr/consteval from code that probably assumed to run in the runtime and not be optimized (strange crutch actually). 2025-03-12 20:35:28 +03:00
IRainman
27c0cd581c lint 2025-03-12 20:23:05 +03:00
IRainman
f3c60527d5 more constexpr. 2025-03-12 20:15:29 +03:00
IRainman
3dd3712782 lint 2025-03-12 20:11:11 +03:00
IRainman
07ab87ca2b compilation fix in some cases. 2025-03-12 20:05:34 +03:00
IRainman
b869816c39 Merge branch 'main' of https://github.com/IRainman/fast_float into fastfloat-main 2025-03-12 19:04:01 +03:00
IRainman
e84f289337 FASTFLOAT_IF_CONSTEXPR17
fix compilation when FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN isn't enabled.
2025-03-12 18:45:48 +03:00
IRainman
1899647146 GCC compilation fix. 2025-03-12 17:56:01 +03:00
IRainman
3dd9a98926 more const 2025-03-12 17:44:08 +03:00
HedgehogInTheCPP
cfd0963705
Merge branch 'main' into main 2025-03-12 17:16:03 +03:00
IRainman
681346fde1 Merge branch 'main' of https://github.com/fastfloat/fast_float into fastfloat-main 2025-03-12 17:00:35 +03:00
Daniel Lemire
50a80a73ab v8.0.2 v8.0.2 2025-03-11 09:51:53 -04:00
Anders Dalvander
f9bed3f7b1
Merge pull request #309 from fastfloat/benchvs
supporting benchmarks under Windows
2025-03-11 14:35:15 +01:00
Daniel Lemire
c0affad8b4
Update benchmark.cpp 2025-03-11 09:19:28 -04:00
Daniel Lemire
7597ca61aa supporting benchmarks under Windows 2025-03-10 19:44:18 -04:00
Daniel Lemire
1bf7010153 v8.0.1 v8.0.1 2025-03-10 09:04:05 -04:00
Daniel Lemire
e019768d49
Merge pull request #308 from fastfloat/turing_json_into_macro_parameter
turning json option into macro parameter
2025-03-10 09:02:53 -04:00
Daniel Lemire
c6732cd28b lint 2025-03-10 09:02:38 -04:00
IRainman
474cc159db Merge branch 'main' of https://github.com/IRainman/fast_float
# Conflicts:
#	benchmarks/benchmark.cpp
2025-03-10 05:51:18 +03:00
IRainman
785802344e Tests are updated:
When FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN is disabled:

####
# reading C:/Projects/fast_float/build/benchmarks/data/canada.txt
####
# read 111126 lines
ASCII volume = 1.93374 MB
fastfloat (64)                          :   228.57 MB/s (+/- 4.1 %)    13.14 Mfloat/s      76.13 ns/f
fastfloat (32)                          :   226.19 MB/s (+/- 3.1 %)    13.00 Mfloat/s      76.93 ns/f
UTF-16 volume = 3.86749 MB
fastfloat (64)                          :   445.30 MB/s (+/- 2.8 %)    12.79 Mfloat/s      78.16 ns/f
fastfloat (32)                          :   439.31 MB/s (+/- 2.1 %)    12.62 Mfloat/s      79.22 ns/f
####
# reading C:/Projects/fast_float/build/benchmarks/data/mesh.txt
####
# read 73019 lines
ASCII volume = 0.536009 MB
fastfloat (64)                          :   123.40 MB/s (+/- 0.8 %)    16.81 Mfloat/s      59.49 ns/f
fastfloat (32)                          :   117.22 MB/s (+/- 1.4 %)    15.97 Mfloat/s      62.62 ns/f
UTF-16 volume = 1.07202 MB
fastfloat (64)                          :   243.93 MB/s (+/- 2.6 %)    16.61 Mfloat/s      60.19 ns/f
fastfloat (32)                          :   232.48 MB/s (+/- 2.5 %)    15.83 Mfloat/s      63.15 ns/f

c:\Projects\fast_float\build\benchmarks\Release>

When FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN is enabled:

####
# reading C:/Projects/fast_float/build/benchmarks/data/canada.txt
####
# read 111126 lines
ASCII volume = 1.82777 MB
fastfloat (64)                          :   233.01 MB/s (+/- 2.0 %)    14.17 Mfloat/s      70.59 ns/f
fastfloat (32)                          :   221.31 MB/s (+/- 1.5 %)    13.46 Mfloat/s      74.32 ns/f
UTF-16 volume = 3.65553 MB
fastfloat (64)                          :   460.78 MB/s (+/- 1.4 %)    14.01 Mfloat/s      71.39 ns/f
fastfloat (32)                          :   439.76 MB/s (+/- 2.1 %)    13.37 Mfloat/s      74.80 ns/f
####
# reading C:/Projects/fast_float/build/benchmarks/data/mesh.txt
####
# read 73019 lines
ASCII volume = 0.536009 MB
fastfloat (64)                          :   131.38 MB/s (+/- 0.4 %)    17.90 Mfloat/s      55.87 ns/f
fastfloat (32)                          :   123.03 MB/s (+/- 0.4 %)    16.76 Mfloat/s      59.67 ns/f
UTF-16 volume = 1.07202 MB
fastfloat (64)                          :   259.29 MB/s (+/- 1.5 %)    17.66 Mfloat/s      56.62 ns/f
fastfloat (32)                          :   243.71 MB/s (+/- 1.8 %)    16.60 Mfloat/s      60.24 ns/f

c:\Projects\fast_float\build\benchmarks\Release>

P.S. tested on latest Windows 10 update with latest MSVC 2022 updates on older, but still powerful machine with Intel Xeon E5-2680 v2
2025-03-10 05:48:27 +03:00
IRainman
3e86e9a18e ####
# reading C:/Projects/fast_float/build/benchmarks/data/canada.txt
####
# read 111126 lines
ASCII volume = 1.82777 MB
fastfloat (64)                          :   233.01 MB/s (+/- 2.0 %)    14.17 Mfloat/s      70.59 ns/f
fastfloat (32)                          :   221.31 MB/s (+/- 1.5 %)    13.46 Mfloat/s      74.32 ns/f
UTF-16 volume = 3.65553 MB
fastfloat (64)                          :   460.78 MB/s (+/- 1.4 %)    14.01 Mfloat/s      71.39 ns/f
fastfloat (32)                          :   439.76 MB/s (+/- 2.1 %)    13.37 Mfloat/s      74.80 ns/f
####
# reading C:/Projects/fast_float/build/benchmarks/data/mesh.txt
####
# read 73019 lines
ASCII volume = 0.536009 MB
fastfloat (64)                          :   131.38 MB/s (+/- 0.4 %)    17.90 Mfloat/s      55.87 ns/f
fastfloat (32)                          :   123.03 MB/s (+/- 0.4 %)    16.76 Mfloat/s      59.67 ns/f
UTF-16 volume = 1.07202 MB
fastfloat (64)                          :   259.29 MB/s (+/- 1.5 %)    17.66 Mfloat/s      56.62 ns/f
fastfloat (32)                          :   243.71 MB/s (+/- 1.8 %)    16.60 Mfloat/s      60.24 ns/f

c:\Projects\fast_float\build\benchmarks\Release>
2025-03-10 05:40:27 +03:00
IRainman
6c499fda5c FASTFLOAT_ASSUME review. 2025-03-10 05:34:45 +03:00
Daniel Lemire
b29208f93d adding FASTFLOAT_IF_CONSTEXPR17 2025-03-09 17:10:55 -04:00
IRainman
63eb578d52 Add FASTFLOAT_HAS_BYTESWAP check.
Improve FASTFLOAT_CONSTEVAL20 usage for older standards.
2025-03-09 22:55:04 +03:00
Daniel Lemire
ba92c88901
Update pull_request_template.md 2025-03-09 15:33:11 -04:00