ext/rj_schema/rapidjson/test/perftest/perftest.h in rj_schema-1.0.0 vs ext/rj_schema/rapidjson/test/perftest/perftest.h in rj_schema-1.0.1
- old
+ new
@@ -128,11 +128,12 @@
"floats.json",
"guids.json",
"integers.json",
"mixed.json",
"nulls.json",
- "paragraphs.json"
+ "paragraphs.json",
+ "alotofkeys.json"
};
for (size_t j = 0; j < sizeof(typesfilenames) / sizeof(typesfilenames[0]); j++) {
types_[j] = 0;
for (size_t i = 0; i < sizeof(typespaths) / sizeof(typespaths[0]); i++) {
@@ -156,11 +157,11 @@
virtual void TearDown() {
free(json_);
free(whitespace_);
json_ = 0;
whitespace_ = 0;
- for (size_t i = 0; i < 7; i++) {
+ for (size_t i = 0; i < 8; i++) {
free(types_[i]);
types_[i] = 0;
}
}
@@ -172,11 +173,11 @@
const char* filename_;
char *json_;
size_t length_;
char *whitespace_;
size_t whitespace_length_;
- char *types_[7];
- size_t typesLength_[7];
+ char *types_[8];
+ size_t typesLength_[8];
static const size_t kTrialCount = 1000;
};
#endif // __cplusplus