Daniel Lemire
7dbe4caf3f
Taking a float and adding hundreds of zeros, you may get a truncated value that is just one over the desired value (bug fix) ( #1388 )
...
* Found a bug where if take some float and add many zeros, you may get a truncated value that is just one over the desired value.
2021-01-11 17:07:25 -05:00
John Keiser
ce1756425f
Merge pull request #1360 from simdjson/jkeiser/ondemand-docs
...
Add On Demand documentation
2021-01-09 13:34:08 -08:00
John Keiser
920f535500
Reamalgamate
2021-01-07 08:49:54 -08:00
Daniel Lemire
f29b70c63e
Adding GitHub Actions VS - without exceptions. ( #1362 )
...
* Adding GitHub Actions VS - without exceptions.
* Rename.
2021-01-06 09:40:35 -05:00
John Keiser
1e690e505b
Merge pull request #1371 from simdjson/jkeiser/ondemand-insitu-manualtime
...
Add yyjson_insitu tests, make insitu tests more accurate
2021-01-05 14:38:52 -08:00
John Keiser
cd27bf0745
Add yyjson_insitu tests
2021-01-05 12:16:19 -08:00
John Keiser
62ded15cd8
Rename tweets/text/points -> result
2021-01-05 11:55:57 -08:00
John Keiser
bc6907d280
Handle in situ document copies outside of the loop
2021-01-05 11:52:05 -08:00
John Keiser
dcd2e13aec
Measure time more accurately
2021-01-05 10:45:49 -08:00
John Keiser
cfff8a5ed5
Merge pull request #1368 from simdjson/jkeiser/ondemand-rapidjson
...
Head-to-head rapidjson benchmarks
2021-01-05 09:58:22 -08:00
John Keiser
2d760e75dc
Remove public: from structs
2021-01-05 09:10:22 -08:00
John Keiser
f071a15591
Add insitu versions of rapidjson benchmark
2021-01-04 20:30:54 -08:00
John Keiser
6a595231b0
Get rid of templates from rapidjson benchmarks
2021-01-04 20:20:24 -08:00
John Keiser
065ea00066
Fix kostya<yyjson> issue
2021-01-04 20:03:22 -08:00
John Keiser
680cd6df34
Add usage benchmarks for rapidjson
2021-01-04 20:03:21 -08:00
John Keiser
22846f7577
Merge pull request #1363 from simdjson/jkeiser/ondemand-benchmarks
...
Head-to-head yyjson / ondemand benchmarks
2021-01-04 15:24:28 -08:00
John Keiser
5583a3c89b
Add error handling to yyjson
2021-01-04 13:05:37 -08:00
John Keiser
25d1c7e622
Fix yyjson double reading
2021-01-04 12:37:25 -08:00
John Keiser
5add8ac255
Rearrange benchmarks to be easier to create
2021-01-04 12:33:41 -08:00
John Keiser
3af54a9978
Add Yyjson benchmarks
2021-01-01 23:04:19 -08:00
John Keiser
1dc4e9a84c
Create custom result printers to show actual differences
2021-01-01 22:03:44 -08:00
John Keiser
9af41dd988
Add PartialTweets<Yyjson> benchmark
2021-01-01 22:03:38 -08:00
John Keiser
0039c5b981
Disallow parser.iterate("1"_padded), as it won't work
2021-01-01 19:18:00 -08:00
John Keiser
17f4f82827
Ondemand usage docs (and associated tests)
...
Also disallowed parsing a temporary padded_string, since the JSON *must*
live through the whole parse.
2021-01-01 19:17:58 -08:00
John Keiser
0314889c6d
Merge pull request #1357 from simdjson/jkeiser/ondemand-quickstart
...
Add quick start for On Demand
2021-01-01 17:39:55 -08:00
John Keiser
7387e9f9a8
Add quick start for On Demand
2021-01-01 14:50:47 -08:00
John Keiser
158a3c53d8
Merge pull request #1351 from simdjson/jkeiser/unordered-lookup
...
Make `object["field"]` order-insensitive in On Demand
2020-12-24 13:33:09 -08:00
John Keiser
98666e84ea
Add unordered version of LargeRandom ondemand benchmark
2020-12-23 09:14:45 -08:00
John Keiser
d91491bf13
Update documentation for out-of-order fields
2020-12-23 09:14:45 -08:00
John Keiser
92443772d2
Enable all acceptance tests on mingw
2020-12-23 09:14:45 -08:00
John Keiser
041d59cc17
Create acceptance_tests, all_tests, etc. make targets
...
And use them for mingw build and test
2020-12-23 09:14:45 -08:00
John Keiser
a405173d59
Break up ondemand_basictests into smaller executables
...
(Allows for faster compilation speeds)
2020-12-23 09:14:44 -08:00
John Keiser
93807bf230
Merge pull request #1352 from simdjson/jkeiser/assert-test-release
...
Make assert test succeed (not run anything) in Release builds
2020-12-23 08:34:18 -08:00
Daniel Lemire
0b67847b56
Adding clang/msys-ci ( #1354 )
2020-12-22 17:53:53 -05:00
ihsinme
a72cb8a37a
Update minifiercompetition.cpp ( #1353 )
...
as described in the description for the allocate_padded_buffer function: // The caller is responsible to free the memory (e.g., delete [] (...)).
but your code used the function free.
I propose to fix this error.
2020-12-22 16:50:37 -05:00
John Keiser
ad4f718e0c
Make assert test succeed (not run anything) in Release builds
2020-12-21 10:52:01 -08:00
John Keiser
5f92cd2b00
Merge pull request #1349 from simdjson/dlemire/prune_validate_utf8
...
We don't include anything but lookup4 ?
2020-12-21 10:05:31 -08:00
John Keiser
a1cf588d5f
Fix GCC 7 warning when inlining does its job
2020-12-21 09:19:07 -08:00
John Keiser
dfc510f009
Add bench_ondemand_largerandom to check theory about executable format
2020-12-20 11:39:56 -08:00
John Keiser
e7e09e444c
Use find_field in benchmark
2020-12-20 11:39:56 -08:00
John Keiser
195acc3e45
Add find_field / find_field_unordered to object
2020-12-20 11:39:50 -08:00
John Keiser
b8426584fc
Make field lookup order-insensitive.
2020-12-19 13:57:29 -08:00
Daniel Lemire
6a2435ab32
Merge branch 'master' into dlemire/prune_validate_utf8
2020-12-19 10:46:14 -05:00
Daniel Lemire
85001c55fb
Fixing UTF-8 validation under PPC64 ( #1346 )
...
* Entering a new UTF-8 test
* Maybe *I* had a bug in the tests.
* Replacing nulls with 1s.
* Let us try to be more verbose.
* Return 0.
* Fixing issue.
* Adding puzzler scenario.
* Fixing PPC64
Co-authored-by: Daniel Lemire <dlemire@rcs-power9-talos>
2020-12-19 10:42:27 -05:00
Daniel Lemire
8c4cf7757f
I meant to remove these files a while ago.
2020-12-18 15:29:08 -05:00
John Keiser
f785f76d98
Merge pull request #1342 from simdjson/jkeiser/iter-safety
...
Safety: assert in debug mode when on demand values are used out of order
2020-12-16 15:58:29 -08:00
Daniel Lemire
c90ee57203
This might make the fuzzer error debuggable. ( #1345 )
2020-12-16 18:31:29 -05:00
John Keiser
d670906ff3
Don't keep a separate at_start boolean in object
2020-12-15 11:29:31 -08:00
Daniel Lemire
c578f63f34
Fixing issue 1337 ( #1338 )
...
* Fixing issue 1337
* This test should always run.
* Removing bad attribute access.
2020-12-14 16:20:36 -05:00
Daniel Lemire
9a404bdcdc
Reenabling the optimized kernels (main branch). ( #1344 )
...
* Reenabling the optimized kernels (main branch).
* Defining SIMDJSON_CAN_ALWAYS_RUN_PPC64 and SIMDJSON_CAN_ALWAYS_RUN_ARM64
* Adding the bad UTF8 string from the fuzzer.
* Taking into account John's comments.
* Bumping the lib version.
* Update CMakeLists.txt
2020-12-14 14:28:45 -05:00