Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making consistent prefixs in PerformanceTest #1760

Merged
merged 3 commits into from Oct 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -162,7 +162,7 @@ public void disabled_testByteArraySerialization() {
* Created in response to http://code.google.com/p/google-gson/issues/detail?id=96
*/
// Last I tested, Gson was able to deserialize a byte array of 11MB
public void disable_testByteArrayDeserialization() {
public void disabled_testByteArrayDeserialization() {
for (int numElements = 10639296; true; numElements += 16384) {
StringBuilder sb = new StringBuilder(numElements*2);
sb.append("[");
Expand Down Expand Up @@ -218,7 +218,7 @@ public void disabled_testDeserializeClasses() {
System.out.printf("Deserialize classes avg time: %d ms\n", avg);
}

public void disable_testLargeObjectSerializationAndDeserialization() {
public void disabled_testLargeObjectSerializationAndDeserialization() {
Map<String, Long> largeObject = new HashMap<>();
for (long l = 0; l < 100000; l++) {
largeObject.put("field" + l, l);
Expand Down Expand Up @@ -343,4 +343,4 @@ private static final class ClassWithExposedField {
this.field = field;
}
}
}
}