You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method FieldPredicates.named(string) has a major performance issue. The predicate compiles the name to regex pattern inside the test method. This makes it extremely slow when creating a large number of randomized objects.
Pattern is immutable and thread-safe and can be compiled before creating the predicate. This reduces execution time a lot and also saves quite some memory garbage.
The method FieldPredicates.named(string) has a major performance issue. The predicate compiles the name to regex pattern inside the test method. This makes it extremely slow when creating a large number of randomized objects.
Pattern is immutable and thread-safe and can be compiled before creating the predicate. This reduces execution time a lot and also saves quite some memory garbage.
created a pull request #367
The text was updated successfully, but these errors were encountered: