java-faker
java-faker copied to clipboard
Performance Improvement by caching values
when faker is used to return consistent values based on a seed values there is a big performance issue since the yml files are re-read every time, caching the values per local prevent this issue.
after this fix the tests run significantly faster for comparative the tests in this project take ~50seconds, after this fix, tests went down to ~13seconds the gain are significantly better in bigger projects when this library is being used
@codingricky @LC24 hey there, can you guys can take a look at these changes?
@bubuntux this project is dead, but these changes have already been incorporated in datafaker version 1.2.0, which is currently on maven central
@bodiam thanks for the heads up i'll take a look