2020-09-09 06:25:50 +08:00
|
|
|
#include "simdjson.h"
|
2021-01-02 13:15:03 +08:00
|
|
|
|
2020-09-09 06:25:50 +08:00
|
|
|
SIMDJSON_PUSH_DISABLE_ALL_WARNINGS
|
2021-01-05 04:21:50 +08:00
|
|
|
|
2021-01-02 13:15:03 +08:00
|
|
|
#ifdef SIMDJSON_COMPETITION_YYJSON
|
|
|
|
#include "yyjson.h"
|
|
|
|
#endif
|
2021-01-05 04:21:50 +08:00
|
|
|
|
2021-01-05 07:22:35 +08:00
|
|
|
#ifdef SIMDJSON_COMPETITION_RAPIDJSON
|
|
|
|
#include "rapidjson/document.h"
|
|
|
|
#include "rapidjson/reader.h"
|
|
|
|
#include "rapidjson/stringbuffer.h"
|
|
|
|
#include "rapidjson/writer.h"
|
|
|
|
#endif
|
|
|
|
|
2021-01-06 08:26:02 +08:00
|
|
|
#ifdef SIMDJSON_COMPETITION_SAJSON
|
|
|
|
#include "sajson.h"
|
|
|
|
#endif
|
|
|
|
|
2021-01-07 06:38:12 +08:00
|
|
|
#ifdef SIMDJSON_COMPETITION_NLOHMANN_JSON
|
|
|
|
#include <nlohmann/json.hpp>
|
|
|
|
#endif
|
|
|
|
|
2021-01-05 04:21:50 +08:00
|
|
|
// This has to be last, for reasons I don't yet understand
|
2020-09-09 06:25:50 +08:00
|
|
|
#include <benchmark/benchmark.h>
|
2021-01-05 04:21:50 +08:00
|
|
|
|
2020-09-09 06:25:50 +08:00
|
|
|
SIMDJSON_POP_DISABLE_WARNINGS
|
|
|
|
|
2021-07-21 02:17:23 +08:00
|
|
|
#include "amazon_cellphones/simdjson_dom.h"
|
|
|
|
#include "amazon_cellphones/simdjson_ondemand.h"
|
|
|
|
|
|
|
|
#include "large_amazon_cellphones/simdjson_dom.h"
|
|
|
|
#include "large_amazon_cellphones/simdjson_ondemand.h"
|
|
|
|
|
2021-01-05 04:21:50 +08:00
|
|
|
#include "partial_tweets/simdjson_dom.h"
|
|
|
|
#include "partial_tweets/simdjson_ondemand.h"
|
2021-01-02 13:15:03 +08:00
|
|
|
#include "partial_tweets/yyjson.h"
|
2021-01-06 08:26:02 +08:00
|
|
|
#include "partial_tweets/sajson.h"
|
2021-01-05 07:22:35 +08:00
|
|
|
#include "partial_tweets/rapidjson.h"
|
2021-06-04 04:41:20 +08:00
|
|
|
#include "partial_tweets/rapidjson_sax.h"
|
2021-01-07 06:38:12 +08:00
|
|
|
#include "partial_tweets/nlohmann_json.h"
|
2021-06-04 04:41:20 +08:00
|
|
|
#include "partial_tweets/nlohmann_json_sax.h"
|
2021-01-05 04:21:50 +08:00
|
|
|
|
|
|
|
#include "large_random/simdjson_dom.h"
|
|
|
|
#include "large_random/simdjson_ondemand.h"
|
|
|
|
#include "large_random/simdjson_ondemand_unordered.h"
|
|
|
|
#include "large_random/yyjson.h"
|
2021-01-06 08:26:02 +08:00
|
|
|
#include "large_random/sajson.h"
|
2021-01-05 07:22:35 +08:00
|
|
|
#include "large_random/rapidjson.h"
|
2021-06-04 04:40:39 +08:00
|
|
|
#include "large_random/rapidjson_sax.h"
|
2021-01-07 06:38:12 +08:00
|
|
|
#include "large_random/nlohmann_json.h"
|
2021-06-04 04:40:39 +08:00
|
|
|
#include "large_random/nlohmann_json_sax.h"
|
2021-01-05 04:21:50 +08:00
|
|
|
|
|
|
|
#include "kostya/simdjson_dom.h"
|
|
|
|
#include "kostya/simdjson_ondemand.h"
|
2021-01-02 14:41:15 +08:00
|
|
|
#include "kostya/yyjson.h"
|
2021-01-06 08:26:02 +08:00
|
|
|
#include "kostya/sajson.h"
|
2021-01-05 07:22:35 +08:00
|
|
|
#include "kostya/rapidjson.h"
|
2021-05-31 22:15:50 +08:00
|
|
|
#include "kostya/rapidjson_sax.h"
|
2021-01-07 06:38:12 +08:00
|
|
|
#include "kostya/nlohmann_json.h"
|
2021-05-31 22:15:50 +08:00
|
|
|
#include "kostya/nlohmann_json_sax.h"
|
2021-01-02 13:15:03 +08:00
|
|
|
|
2021-01-05 04:21:50 +08:00
|
|
|
#include "distinct_user_id/simdjson_dom.h"
|
2021-06-18 06:31:40 +08:00
|
|
|
#include "distinct_user_id/simdjson_dom_json_pointer.h"
|
2021-01-05 04:21:50 +08:00
|
|
|
#include "distinct_user_id/simdjson_ondemand.h"
|
2021-06-18 06:31:40 +08:00
|
|
|
#include "distinct_user_id/simdjson_ondemand_json_pointer.h"
|
2021-01-05 04:21:50 +08:00
|
|
|
#include "distinct_user_id/yyjson.h"
|
2021-01-06 08:26:02 +08:00
|
|
|
#include "distinct_user_id/sajson.h"
|
2021-01-05 07:22:35 +08:00
|
|
|
#include "distinct_user_id/rapidjson.h"
|
2021-06-02 02:51:27 +08:00
|
|
|
#include "distinct_user_id/rapidjson_sax.h"
|
2021-01-07 06:38:12 +08:00
|
|
|
#include "distinct_user_id/nlohmann_json.h"
|
2021-06-02 02:51:27 +08:00
|
|
|
#include "distinct_user_id/nlohmann_json_sax.h"
|
2021-01-05 04:21:50 +08:00
|
|
|
|
|
|
|
#include "find_tweet/simdjson_dom.h"
|
|
|
|
#include "find_tweet/simdjson_ondemand.h"
|
|
|
|
#include "find_tweet/yyjson.h"
|
2021-01-06 08:26:02 +08:00
|
|
|
#include "find_tweet/sajson.h"
|
2021-01-05 07:22:35 +08:00
|
|
|
#include "find_tweet/rapidjson.h"
|
2021-06-04 00:43:54 +08:00
|
|
|
#include "find_tweet/rapidjson_sax.h"
|
2021-01-07 06:38:12 +08:00
|
|
|
#include "find_tweet/nlohmann_json.h"
|
2021-06-04 00:43:54 +08:00
|
|
|
#include "find_tweet/nlohmann_json_sax.h"
|
2020-10-23 20:47:01 +08:00
|
|
|
|
2021-01-11 03:52:07 +08:00
|
|
|
#include "top_tweet/simdjson_dom.h"
|
|
|
|
#include "top_tweet/simdjson_ondemand.h"
|
|
|
|
#include "top_tweet/yyjson.h"
|
|
|
|
#include "top_tweet/sajson.h"
|
|
|
|
#include "top_tweet/rapidjson.h"
|
2021-06-04 04:41:00 +08:00
|
|
|
#include "top_tweet/rapidjson_sax.h"
|
2021-01-11 03:52:07 +08:00
|
|
|
#include "top_tweet/nlohmann_json.h"
|
2021-06-04 04:41:00 +08:00
|
|
|
#include "top_tweet/nlohmann_json_sax.h"
|
2021-01-11 03:52:07 +08:00
|
|
|
|
2020-09-09 06:25:50 +08:00
|
|
|
BENCHMARK_MAIN();
|