simdjson/tests/ondemand
Nicolas Boyer 5c590b8434
Bringing ndjson(document_stream) to On Demand (#1643)
* Update basic.md to document JSON pointer for On Demand.

* Add automatic rewind for at_pointer

* Remove DOM examples in basics.md and update documentation reflecting addition of at_pointer automatic rewinding.

* Review

* Add test

* Add document_stream constructors and iterate_many

* Attempt to implement streaming.

* Kind of fixed next() for getting next document

* Temporary save.

* Putting in working order.

* Add working doc_index and add function next_document()

* Attempt to implement streaming.

* Re-anchoring json_iterator after a call to stage 1

* I am convinced it should be a 'while'.

* Add source() with test.

* Add truncated_bytes().

* Fix casting issues.

* Fix old style cast.

* Fix privacy issue.

* Fix privacy issues.

* Again

* .

* Add more tests. Add error() for iterator class.

* Fix source() to not included whitespaces between documents.

* Fixing CI.

* Fix source() for multiple batches. Add new tests.

* Fix batch_start when document has leading spaces. Add new tests for that.

* Add new tests.

* Temporary save.

* Working hacky multithread version.

* Small fix in header files.

* Correct version (not working).

* Adding a move assignment to ondemand::parser.

* Fix attempt by changing std::swap.

* Moving DEFAULT_BATCH_SIZE and MINIMAL_BATCH_SIZE.

* Update doc and readme tests.

* Update basics.md

* Update readme_examples tests.

* Fix exceptions in test.

* Partial setup for amazon_cellphones.

* Benchmark with vectors.

* Benchmark with maps

* With vectors again.

* Fix for weighted average.

* DOM benchmark.

* Fix typos. Add On Demand benchmark.

* Add large amazon_cellphones benchmark for DOM

* Add benchmark for On demand.

* Fix broken read_me test.

* Add parser.threaded to enable/disable thread usage.

Co-authored-by: Daniel Lemire <lemire@gmail.com>
2021-07-20 14:17:23 -04:00
..
compilation_failure_tests This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
CMakeLists.txt Bringing ndjson(document_stream) to On Demand (#1643) 2021-07-20 14:17:23 -04:00
ondemand_active_tests.cpp Recommend simdjson::ondemand over simdjson::builtin::ondemand (#1380) 2021-01-14 17:33:49 -05:00
ondemand_array_error_tests.cpp Check for end object/array at top level 2021-02-22 09:35:21 -08:00
ondemand_array_tests.cpp count_elements did not like empty arrays. (#1631) 2021-06-24 11:08:13 -04:00
ondemand_assert_out_of_order_values.cpp Recommend simdjson::ondemand over simdjson::builtin::ondemand (#1380) 2021-01-14 17:33:49 -05:00
ondemand_compilation_tests.cpp fixing issue 1480 (#1485) 2021-03-08 19:31:42 -05:00
ondemand_document_stream_tests.cpp Bringing ndjson(document_stream) to On Demand (#1643) 2021-07-20 14:17:23 -04:00
ondemand_error_tests.cpp Add max_capacity setting for On Demand (#1610) 2021-06-08 14:42:42 -04:00
ondemand_json_pointer_tests.cpp renames 'to_string' to 'to_json_string' and makes it ridiculously fast (#1642) 2021-07-19 10:24:36 -04:00
ondemand_key_string_tests.cpp Recommend simdjson::ondemand over simdjson::builtin::ondemand (#1380) 2021-01-14 17:33:49 -05:00
ondemand_misc_tests.cpp Documenting raw string access. (#1566) 2021-05-20 13:57:48 -04:00
ondemand_number_tests.cpp Avoiding stack allocation. (#1515) 2021-03-23 11:32:04 -04:00
ondemand_object_error_tests.cpp Add value.type() 2021-03-02 17:02:50 -08:00
ondemand_object_tests.cpp Rewind functionality. (#1539) 2021-06-04 09:22:33 -04:00
ondemand_ordering_tests.cpp Recommend simdjson::ondemand over simdjson::builtin::ondemand (#1380) 2021-01-14 17:33:49 -05:00
ondemand_parse_api_tests.cpp renames 'to_string' to 'to_json_string' and makes it ridiculously fast (#1642) 2021-07-19 10:24:36 -04:00
ondemand_readme_examples.cpp Bringing ndjson(document_stream) to On Demand (#1643) 2021-07-20 14:17:23 -04:00
ondemand_scalar_tests.cpp Move json_type to ondemand to prevent target mismatch inline errors 2021-03-02 18:31:17 -08:00
ondemand_tostring_tests.cpp renames 'to_string' to 'to_json_string' and makes it ridiculously fast (#1642) 2021-07-19 10:24:36 -04:00
ondemand_twitter_tests.cpp Recommend simdjson::ondemand over simdjson::builtin::ondemand (#1380) 2021-01-14 17:33:49 -05:00
ondemand_wrong_type_error_tests.cpp Easy fix. (#1507) 2021-03-19 19:53:22 -04:00
test_ondemand.h count_elements did not like empty arrays. (#1631) 2021-06-24 11:08:13 -04:00