Admin/jenkins/build/ci_build_benchmark.scala
author Lars Hupel <lars.hupel@mytum.de>
Fri, 16 Sep 2016 16:49:13 +0200
changeset 63894 7534eec7cfad
parent 63893 c181a84eb6de
child 65415 8cd54b18b68b
permissions -rw-r--r--
benchmark doesn't need to build documents
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
63315
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
     1
object profile extends isabelle.CI_Profile
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
     2
{
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
     3
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
     4
  import isabelle._
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
     5
63894
7534eec7cfad benchmark doesn't need to build documents
Lars Hupel <lars.hupel@mytum.de>
parents: 63893
diff changeset
     6
  override def documents = false
63893
c181a84eb6de benchmark profile runs on small worker now (6 cores)
Lars Hupel <lars.hupel@mytum.de>
parents: 63889
diff changeset
     7
  def threads = 6
63889
2195a7e04db5 serious measurements require jobs = 1;
wenzelm
parents: 63888
diff changeset
     8
  def jobs = 1
63315
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
     9
  def include = Nil
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
    10
  def select = List(Path.explode("$ISABELLE_HOME/src/Benchmarks"))
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
    11
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
    12
  def pre_hook(args: List[String]) = {}
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
    13
  def post_hook(results: Build.Results) = {}
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
    14
63401
28cc90b0e9c2 simplify build scripts
Lars Hupel <lars.hupel@mytum.de>
parents: 63385
diff changeset
    15
  def select_sessions(tree: Sessions.Tree): (List[String], Sessions.Tree) =
63888
5a9a1985e9fb sessions that are relevant for routine timing measurements;
wenzelm
parents: 63401
diff changeset
    16
    tree.selection(session_groups = List("timing"))
63385
Lars Hupel <lars.hupel@mytum.de>
parents: 63348
diff changeset
    17
63315
67c38b9ea2fb benchmark build profile
Lars Hupel <lars.hupel@mytum.de>
parents:
diff changeset
    18
}