elasticsearch-build-benchmark-part1.scenarios 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // ensure branch scenario is listed first as this is the gradle version that will picked for inspecting the build
  2. default-scenarios = ["buildConfiguration_branch", "buildConfiguration_main", "single_project_branch", "single_project_main"]
  3. buildConfiguration_main {
  4. title = "configuration phase (main)"
  5. versions = ["@mainWrapper@"]
  6. tasks = ["help"]
  7. gradle-args = ["--no-scan", "--no-build-cache", "--stacktrace"]
  8. run-using = cli // value can be "cli" or "tooling-api"
  9. daemon = warm // value can be "warm", "cold", or "none"
  10. warm-ups = 5
  11. iterations = 10
  12. system-properties {
  13. "BUILD_PERFORMANCE_TEST" = "true"
  14. }
  15. git-checkout = {
  16. build = "main"
  17. }
  18. }
  19. buildConfiguration_branch {
  20. title = "configuration phase (@testGitCommit@)"
  21. versions = ["@branchWrapper@"]
  22. tasks = ["help"]
  23. gradle-args = ["--no-scan", "--no-build-cache", "--stacktrace"]
  24. run-using = cli // value can be "cli" or "tooling-api"
  25. daemon = warm // value can be "warm", "cold", or "none"
  26. warm-ups = 5
  27. iterations = 10
  28. system-properties {
  29. "BUILD_PERFORMANCE_TEST" = "true"
  30. }
  31. git-checkout = {
  32. build = "@testGitCommit@"
  33. }
  34. }
  35. single_project_main {
  36. title = "single project (main)"
  37. versions = ["@mainWrapper@"]
  38. tasks = [":server:precommit"]
  39. gradle-args = ["--no-scan", "--stacktrace"]
  40. apply-abi-change-to = "server/src/main/java/org/elasticsearch/bootstrap/BootstrapInfo.java"
  41. run-using = cli // value can be "cli" or "tooling-api"
  42. daemon = warm // value can be "warm", "cold", or "none"
  43. warm-ups = 5
  44. iterations = 10
  45. system-properties {
  46. "BUILD_PERFORMANCE_TEST" = "true"
  47. }
  48. git-checkout = {
  49. build = "main"
  50. }
  51. }
  52. single_project_branch {
  53. title = "single project (@testGitCommit@)"
  54. versions = ["@branchWrapper@"]
  55. tasks = [":server:precommit"]
  56. gradle-args = ["--no-scan", "--stacktrace"]
  57. apply-abi-change-to = "server/src/main/java/org/elasticsearch/bootstrap/BootstrapInfo.java"
  58. run-using = cli // value can be "cli" or "tooling-api"
  59. daemon = warm // value can be "warm", "cold", or "none"
  60. warm-ups = 5
  61. iterations = 10
  62. system-properties {
  63. "BUILD_PERFORMANCE_TEST" = "true"
  64. }
  65. git-checkout = {
  66. build = "@testGitCommit@"
  67. }
  68. }