1 #include "simdjson.h" 2 3 SIMDJSON_PUSH_DISABLE_ALL_WARNINGS 4 5 #ifdef SIMDJSON_COMPETITION_YYJSON 6 #include "yyjson.h" 7 #endif 8 9 #ifdef SIMDJSON_COMPETITION_RAPIDJSON 10 #include "rapidjson/document.h" 11 #include "rapidjson/reader.h" 12 #include "rapidjson/stringbuffer.h" 13 #include "rapidjson/writer.h" 14 #endif 15 16 #ifdef SIMDJSON_COMPETITION_SAJSON 17 #include "sajson.h" 18 #endif 19 20 #ifdef SIMDJSON_COMPETITION_NLOHMANN_JSON 21 #include <nlohmann/json.hpp> 22 #endif 23 24 // This has to be last, for reasons I don't yet understand 25 #include <benchmark/benchmark.h> 26 27 SIMDJSON_POP_DISABLE_WARNINGS 28 29 #include "partial_tweets/simdjson_dom.h" 30 #include "partial_tweets/simdjson_ondemand.h" 31 #include "partial_tweets/yyjson.h" 32 #include "partial_tweets/sajson.h" 33 #include "partial_tweets/rapidjson.h" 34 #include "partial_tweets/nlohmann_json.h" 35 36 #include "large_random/simdjson_dom.h" 37 #include "large_random/simdjson_ondemand.h" 38 #include "large_random/simdjson_ondemand_unordered.h" 39 #include "large_random/yyjson.h" 40 #include "large_random/sajson.h" 41 #include "large_random/rapidjson.h" 42 #include "large_random/nlohmann_json.h" 43 44 #include "kostya/simdjson_dom.h" 45 #include "kostya/simdjson_ondemand.h" 46 #include "kostya/yyjson.h" 47 #include "kostya/sajson.h" 48 #include "kostya/rapidjson.h" 49 #include "kostya/nlohmann_json.h" 50 51 #include "distinct_user_id/simdjson_dom.h" 52 #include "distinct_user_id/simdjson_ondemand.h" 53 #include "distinct_user_id/yyjson.h" 54 #include "distinct_user_id/sajson.h" 55 #include "distinct_user_id/rapidjson.h" 56 #include "distinct_user_id/nlohmann_json.h" 57 58 #include "find_tweet/simdjson_dom.h" 59 #include "find_tweet/simdjson_ondemand.h" 60 #include "find_tweet/yyjson.h" 61 #include "find_tweet/sajson.h" 62 #include "find_tweet/rapidjson.h" 63 #include "find_tweet/nlohmann_json.h" 64 65 #include "top_tweet/simdjson_dom.h" 66 #include "top_tweet/simdjson_ondemand.h" 67 #include "top_tweet/yyjson.h" 68 #include "top_tweet/sajson.h" 69 #include "top_tweet/rapidjson.h" 70 #include "top_tweet/nlohmann_json.h" 71 72 BENCHMARK_MAIN(); 73