stan-dev / stan-dev/math

Speeding up distribution tests

Open
#2,324 5 comments 0 reactions 1 assignee View on GitHub

@rok-cesnovar is already working on this.

Since Oct 19, 2021.

Dominant language
C++
Stars
839
Forks
220
Avg merge
2d 4h
Merged PRs (30d)
14

Description

Description

The distribution tests on develop currently run for 12h. The recently added varmat signatures basically added a x2 testing burden but the distribution tests were unsustainable even before that.

Adding beefier machines is not an option here because the machines we use are already fast.

Ideas to speedup testing:

  • use precompiled headers (most of the time falls under compiling so maybe?)
  • only test non-similar signatures (meaning that we only test with foo(vector) if the function supports foo(vector), foo(row_vector), foo(array[] real)

Anyone has any idea here?

Current Version:

v3.4.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.