simdjson/tests/dom
strager d036fdf919
Reduce #include bloat (<iostream>) (#1697)
Including <iostream> has two problems:

* Compile times are worse because of over-inclusion
* Binary sizes are worse when statically linking libstdc++ because
  iostreams cannot be dead-code-stripped

simdjson only needs std::ostream. Include the header declaring only what
we need (<ostream>), omitting stuff we don't need (std::cout and its
initialization, for example).

This commit should not change behavior, but it might break users who
assume that including <simdjson/simdjson.h> will make std::cout
available (such as many of simdjson's own files).
2021-08-13 11:24:36 -04:00
..
CMakeLists.txt Don't #include "simdjson.cpp" in tests (#1605) 2021-06-06 14:44:04 -04:00
allparserscheckfile.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
basictests.cpp This cleans a bit the current code, especially with respect to EOF guards. (#1669) 2021-07-25 10:36:22 -04:00
document_stream_tests.cpp Fix an issue with truncated-byte function. (#1674) 2021-07-30 13:12:42 -04:00
document_tests.cpp This cleans a bit the current code, especially with respect to EOF guards. (#1669) 2021-07-25 10:36:22 -04:00
errortests.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
extracting_values_example.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
integer_tests.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
issue150.sh This deletes most of our data files making the repository much smaller (#1582) 2021-06-04 09:24:03 -04:00
jsoncheck.cpp Reduce #include bloat (<iostream>) (#1697) 2021-08-13 11:24:36 -04:00
minefieldcheck.cpp Reduce #include bloat (<iostream>) (#1697) 2021-08-13 11:24:36 -04:00
numberparsingcheck.cpp Reduce #include bloat (<iostream>) (#1697) 2021-08-13 11:24:36 -04:00
parse_many_test.cpp Reduce #include bloat (<iostream>) (#1697) 2021-08-13 11:24:36 -04:00
pointercheck.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
random_string_number_tests.cpp Reduce #include bloat (<iostream>) (#1697) 2021-08-13 11:24:36 -04:00
readme_examples.cpp Documentation for issue 1562 (Accessing escaped key with on-demand API) (#1563) 2021-06-04 09:21:52 -04:00
readme_examples_noexceptions.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
singleheadertest.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00
stringparsingcheck.cpp Don't #include "simdjson.cpp" in tests (#1605) 2021-06-06 14:44:04 -04:00
testjson2json.sh This deletes most of our data files making the repository much smaller (#1582) 2021-06-04 09:24:03 -04:00
trivially_copyable_test.cpp This moves all DOM (benchmark + test) files to a subdir (#1549) 2021-04-30 18:33:45 -04:00