Skip to content

Benchmark with Develocity plugin #644

@alllex

Description

@alllex

Similar to #613, but for benchmarks

Expected behavior

User should be able to provide an option to apply a DV plugin of a given version to the benchmark (option name not final):

gradle-profiler --benchmarks --with-develocity 4.2.2

This will apply the DV plugin via an init script, if the build doesn't already apply the plugin.

It would also be useful to provide an additional custom value / tag for the build scan, so those can be distinguished from regular build scans, if necessary. We do a similar thing for profiling already:

" publishing {\n" +
" onlyIf { System.getProperty('org.gradle.profiler.phase') == 'MEASURE' }\n" +
" }\n" +

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions