{"id":13630973,"url":"https://github.com/google/caliper","last_synced_at":"2025-04-17T17:32:11.484Z","repository":{"id":32315819,"uuid":"35890978","full_name":"google/caliper","owner":"google","description":"Micro-benchmarking library for Java","archived":false,"fork":false,"pushed_at":"2025-04-08T14:45:23.000Z","size":8763,"stargazers_count":816,"open_issues_count":114,"forks_count":108,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-04-08T15:45:16.560Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2015-05-19T15:28:40.000Z","updated_at":"2025-04-08T14:45:26.000Z","dependencies_parsed_at":"2024-01-13T15:36:32.086Z","dependency_job_id":"ba0d34ca-b7d2-4671-9094-8951b08f5c27","html_url":"https://github.com/google/caliper","commit_stats":{"total_commits":607,"total_committers":42,"mean_commits":"14.452380952380953","dds":0.7792421746293245,"last_synced_commit":"8b7a2135888926bbd8d5bb8a44acc78d72f64833"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcaliper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcaliper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcaliper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fcaliper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/caliper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249360044,"owners_count":21257160,"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-08-01T22:02:05.475Z","updated_at":"2025-04-17T17:32:09.879Z","avatar_url":"https://github.com/google.png","language":"Java","funding_links":[],"categories":["Java","测试"],"sub_categories":[],"readme":"# Caliper\n\n\u003e **NOTICE:** The Caliper web application that was at\n\u003e microbenchmarks.appspot.com was shut down on August 15, 2022.\n\nCaliper is a tool for measuring Java code performance, primarily focused on\nmicrobenchmarks.\n\n## Prefer [JMH] or [Jetpack Microbenchmark]\n\nFor new benchmarks, we recommend using a tool other than Caliper:\n\n- For JVM benchmarks, use [JMH], which generally provides\n[more accurate results](https://groups.google.com/g/mechanical-sympathy/c/m4opvy4xq3U/m/7lY8x8SvHgwJ)\nthan Caliper.\n- For Android benchmarks, use the [Jetpack Microbenchmark] library.\n\n## Building\n\nTo build the JVM version of Caliper (the only supported version at the moment),\nrun:\n\n```shell\nmvn clean install -am -pl caliper\n```\n\n### Android\n\nCaliper currently has a number of artifacts related to Android. These are in\na transitional state and no easy way to run Caliper benchmarks on Android is\ncurrently available.\n\nIf you are interested in building the Android artifacts for any reason, you can\nrun:\n\n```shell\nmvn clean install -am -pl caliper-android\n```\n\nNote that for these artifacts to build, you must have an `ANDROID_HOME`\nenvironment variable set to the location of an Android SDK containing the file\n`platforms/android-25/android.jar`. Alternatively, you can pass\n`-Dandroid.home=\u003cpath\u003e` to your `mvn` command to set the Android SDK directory\nthat way, and/or `-Dandroid.sdk.version=\u003cversion\u003e` to specify a version other\nthan `25` (but note that the build may not work with a version lower than `25`).\n\n[JMH]: https://openjdk.java.net/projects/code-tools/jmh/\n[Jetpack Microbenchmark]: https://developer.android.com/topic/performance/benchmarking/microbenchmark-overview\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fcaliper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fcaliper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fcaliper/lists"}