-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RUM-5553: Create Benchmark module to collect performance metrics
- Loading branch information
1 parent
99068f2
commit 5f8579a
Showing
5 changed files
with
61 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. | ||
* This product includes software developed at Datadog (https://www.datadoghq.com/). | ||
* Copyright 2016-Present Datadog, Inc. | ||
*/ | ||
|
||
import com.datadog.gradle.config.AndroidConfig | ||
import com.datadog.gradle.config.dependencyUpdateConfig | ||
import com.datadog.gradle.config.java17 | ||
import com.datadog.gradle.config.junitConfig | ||
import com.datadog.gradle.config.kotlinConfig | ||
|
||
plugins { | ||
id("com.android.library") | ||
kotlin("android") | ||
id("com.github.ben-manes.versions") | ||
} | ||
|
||
android { | ||
defaultConfig { | ||
compileSdk = AndroidConfig.TARGET_SDK | ||
minSdk = AndroidConfig.MIN_SDK | ||
} | ||
namespace = "com.datadog.benchmark" | ||
compileOptions { | ||
java17() | ||
} | ||
} | ||
|
||
dependencies { | ||
|
||
implementation(libs.kotlin) | ||
implementation(libs.okHttp) | ||
api(libs.openTelemetrySdk) | ||
api(libs.openTelemetryApi) | ||
implementation(libs.gson) | ||
compileOnly(libs.detektApi) | ||
testImplementation(project(":tools:unit")) { | ||
attributes { | ||
attribute( | ||
com.android.build.api.attributes.ProductFlavorAttr.of("platform"), | ||
objects.named("jvm") | ||
) | ||
} | ||
} | ||
|
||
testImplementation(libs.bundles.jUnit5) | ||
testImplementation(libs.bundles.testTools) | ||
testImplementation(libs.detektTest) | ||
testImplementation(libs.robolectric) | ||
} | ||
|
||
kotlinConfig() | ||
junitConfig() | ||
dependencyUpdateConfig() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Dependencies List | ||
|
||
androidx.annotation:annotation:1.3.0 : 30 Kb | ||
io.opentelemetry:opentelemetry-api:1.4.0 : 78 Kb | ||
io.opentelemetry:opentelemetry-context:1.4.0 : 42 Kb | ||
io.opentelemetry:opentelemetry-api:1.40.0 : 138 Kb | ||
io.opentelemetry:opentelemetry-context:1.40.0 : 46 Kb | ||
org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 : 216 Kb | ||
org.jetbrains.kotlin:kotlin-stdlib:1.8.22 : 1631 Kb | ||
org.jetbrains:annotations:13.0 : 17 Kb | ||
|
||
Total transitive dependencies size : 2017 Kb | ||
Total transitive dependencies size : 2 Mb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters