{"id":15536644,"url":"https://github.com/turbo87/gradle-perf","last_synced_at":"2026-05-06T07:30:23.051Z","repository":{"id":19524214,"uuid":"22771475","full_name":"Turbo87/gradle-perf","owner":"Turbo87","description":"JMH integration for Gradle","archived":false,"fork":false,"pushed_at":"2014-08-09T13:34:12.000Z","size":260,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-05T12:52:06.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Turbo87.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-08T21:00:33.000Z","updated_at":"2014-08-08T21:05:10.000Z","dependencies_parsed_at":"2022-08-05T04:30:37.607Z","dependency_job_id":null,"html_url":"https://github.com/Turbo87/gradle-perf","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fgradle-perf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fgradle-perf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fgradle-perf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fgradle-perf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Turbo87","download_url":"https://codeload.github.com/Turbo87/gradle-perf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240093157,"owners_count":19746780,"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":"2024-10-02T11:52:45.756Z","updated_at":"2026-05-06T07:30:22.991Z","avatar_url":"https://github.com/Turbo87.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gradle 'perf' Plugin\n\n[JMH](http://openjdk.java.net/projects/code-tools/jmh/) integration for [Gradle](http://www.gradle.org/).\n\n## Example\n\n```groovy\n\n// add the plugin dependency\n\nbuildscript {\n    repositories {\n        maven { url 'https://dl.bintray.com/tbieniek/maven' }\n    }\n    dependencies {\n        classpath 'gradleperf:gradle-perf:1.1.0'\n    }\n}\n\n// apply the plugin\n\napply plugin: 'perf'\n\n// optionally configure the plugin\n\nperf {\n    all {\n        args = ['-f', '10']\n    }\n    simple {\n        args = ['-f', '1']\n    }\n}\n\n// optionally change the source set location\n// default: 'src/perf/java'\n\nsourceSets {\n    perf.java.srcDir 'perf'\n}\n\n// optionally declare any benchmark dependencies\n\ndependencies {\n    perfCompile 'org.apache.commons:commons-io:1.3.2'\n}\n\n...\n```\n\nwill result in:\n\n```\n------------------------------------------------------------\nAll tasks runnable from root project\n------------------------------------------------------------\n\nBenchmark tasks\n---------------\nperf - Runs the performance benchmarks.\nperfSimple - Runs the simple performance benchmarks.\n\n...\n```\n\n\n## Similar Projects\n\n* [melix/jmh-gradle-plugin](https://github.com/melix/jmh-gradle-plugin)\n\n    This plugin is mostly similar, but is using a 'fat jar' approach to run JMH.\n\n\n## License \n\ngradle-perf is free software, and may be redistributed under the Apache license v2.0. (see [LICENSE](LICENSE))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbo87%2Fgradle-perf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbo87%2Fgradle-perf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbo87%2Fgradle-perf/lists"}