{"id":25776265,"url":"https://github.com/DaGeRe/KoPeMe","last_synced_at":"2025-02-27T06:05:55.611Z","repository":{"id":10980038,"uuid":"13298254","full_name":"DaGeRe/KoPeMe","owner":"DaGeRe","description":"KoPeMe is a framework for executing a performance measurement of a performance unit test (which can be easily created from a regular JUnit test) inside *one* vm execution. Since using the measurement values from one vm execution is not sufficient, the measurement needs to be repeated e.g. using Peass (or by writing own small bash scripts).","archived":false,"fork":false,"pushed_at":"2024-04-15T07:32:23.000Z","size":76050,"stargazers_count":3,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-16T07:06:11.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaGeRe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2013-10-03T12:52:09.000Z","updated_at":"2024-04-22T02:47:32.005Z","dependencies_parsed_at":"2023-02-17T21:45:49.101Z","dependency_job_id":"d0162237-ca31-4847-9e7f-87dd79f59e43","html_url":"https://github.com/DaGeRe/KoPeMe","commit_stats":null,"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGeRe%2FKoPeMe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGeRe%2FKoPeMe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGeRe%2FKoPeMe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaGeRe%2FKoPeMe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaGeRe","download_url":"https://codeload.github.com/DaGeRe/KoPeMe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240987435,"owners_count":19889333,"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-02-27T06:01:20.411Z","updated_at":"2025-02-27T06:05:55.606Z","avatar_url":"https://github.com/DaGeRe.png","language":"Java","funding_links":[],"categories":["测试"],"sub_categories":[],"readme":"# KoPeMe\n\nKoPeMe is a framework for enabling performance tests in Java. This makes it possible to live a software development process where performance measures are taken continously and therefore react continously to changes in performance. With continous performance testing, one avoids refactorings after performance problems occured in a big testing phase before releasing the software.\n\n## Usage\n\nKoPeMe got three possibilities to enable performance tests in Java: \n- Using JUnit 4 with the performance test runner, by adding `@RunWith(PerformanceTestRunnerJUnit.class)` as annotation at class level\n- Using JUnit 4 with the rule, by adding `@Rule public TestRule rule = new KoPeMeRule(this);` as instance variable to the class\n- Using Junit 5 with the extension, by adding `@ExtendWith(KoPeMeExtension.class)` as annotation at class level\n- Using JUnit 3, using `extends KoPeMeTestcase` (instead `extends TestCase`). This is mainly for compatibility with old software and is not recommended for daily use.\n- Using kopeme-core, by running `PerformanceTestRunnerKoPeMe` for a class with performance tests\n\nOne of these variants should be enabled.\n\nAdditionally, the test should be annotated, e.g. like\n\n```xml\n@Test\n@PerformanceTest(iterations = 500, warmup = 500, repetitions = 100)\npublic void measureMe() {\n```\n\nThe usual JUnit test annotation should still be added if JUnit tests are measured.\n\nThe workload inside the test is repeated `repetitions*iterations` times, and `iterations` duration measurements are done (each after `repetitions` executions). Before this, `repetitions*warmup` workload executions are done without measurement (for warming up the current VM).\n\n## Dependencies\n\nFor JUnit 4 or 5 tests, please add\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ede.dagere.kopeme\u003c/groupId\u003e\n    \u003cartifactId\u003ekopeme-junit\u003c/artifactId\u003e\n    \u003cversion\u003e0.13\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nto your build.\n\nFor JUnit 3 tests, please add\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ede.dagere.kopeme\u003c/groupId\u003e\n    \u003cartifactId\u003ekopeme-junit3\u003c/artifactId\u003e\n    \u003cversion\u003e0.13\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nto your build.\n\n## Results\n\nAfter measurement, in your KOPEME\\_HOME-folder, a result-file will be placed. It will be extended by new results in every new run. If you don't define KOPEME\\_HOME-folder, the file will be placed in your HOME-Folder in .KoPeMe. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaGeRe%2FKoPeMe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDaGeRe%2FKoPeMe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaGeRe%2FKoPeMe/lists"}