{"id":29008279,"url":"https://github.com/jmix-framework/jmix-data-performance-tests","last_synced_at":"2025-06-25T14:04:27.016Z","repository":{"id":109745201,"uuid":"594723563","full_name":"jmix-framework/jmix-data-performance-tests","owner":"jmix-framework","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T13:59:57.000Z","size":91,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T15:08:50.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmix-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-29T12:59:47.000Z","updated_at":"2025-03-21T14:00:01.000Z","dependencies_parsed_at":"2025-03-21T14:56:43.055Z","dependency_job_id":null,"html_url":"https://github.com/jmix-framework/jmix-data-performance-tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmix-framework/jmix-data-performance-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-data-performance-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-data-performance-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-data-performance-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-data-performance-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmix-framework","download_url":"https://codeload.github.com/jmix-framework/jmix-data-performance-tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-data-performance-tests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261888094,"owners_count":23225135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-25T14:04:22.946Z","updated_at":"2025-06-25T14:04:26.541Z","avatar_url":"https://github.com/jmix-framework.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jmix Data Performance Tests\n\nThis project demonstrates different approaches to saving data in [Jmix](https://jmix.io) framework and compares their performance.\n\nThe tests use the same model: [Employee](src/main/java/com/company/demo/entity/Employee.java) entity which has a few string, date and number attributes and a reference to the [Department](src/main/java/com/company/demo/entity/Department.java).\n\nAll tests save 10_000 new instances of the `Employee` entity.\n\nSee [DataManagerTest](src/test/java/com/company/demo/DataManagerTest.java), [EntityManagerTest](src/test/java/com/company/demo/EntityManagerTest.java), [JdbcTest](src/test/java/com/company/demo/JdbcTest.java) classes.\n\nResults of the execution on MacBook M1 Pro:\n\nUsing `DataManager`:\n\n- DataManagerTest.oneByOne: 14784 ms\n- DataManagerTest.oneByOne_discardSaved: 5860 ms\n- DataManagerTest.oneByOne_discardSaved_unconstrained: 3103 ms\n- DataManagerTest.allAtOnce_discardSaved_unconstrained: 1918 ms\n- DataManagerTest.inBatches (100): 1110 ms\n- DataManagerTest.inBatches_unconstrained (100): 893 ms\n\nUsing `EntityManager`:\n\n- EntityManagerTest.oneByOne: 3465 ms\n- EntityManagerTest.inBatches (100): 1544 ms\n- EntityManagerTest.allAtOnce: 989 ms\n\nUsing `JdbcTemplate`:\n\n- JdbcTest.oneByOne: 1721 ms\n- JdbcTest.inBatches (100): 866 ms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmix-framework%2Fjmix-data-performance-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmix-framework%2Fjmix-data-performance-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmix-framework%2Fjmix-data-performance-tests/lists"}