Skip to content

Conversation

@pasabanov
Copy link
Member

Types of changes

  • Benchmarking
  • Dependency version updates
  • Configuration (project, CD)

Related: #49

Description

  1. Dependencies:

    • Added submodule https://github.com/google/benchmark to benches/deps/benchmark.
  2. Benchmarks:

    • Introduced a suite of benchmarks for various interpolation methods:
      • Polynomial coefficient evaluation and interpolation (Lagrange, Improved Lagrange, Newton) in benches/poly;
      • Barycentric formula interpolation in benches/misc;
      • Step, Linear, Quadratic, and Cubic spline interpolation benchmarks in benches/spline.
  3. CI:

    • Updated .github/workflows/clang-tidy.yml to include files from the benches directory in static analysis.
  4. IDE Configuration:

    • Added run configurations for benchmarks in .idea/runConfigurations, specifying flags --benchmark_color=yes --benchmark_counters_tabular=yes.

@pasabanov pasabanov added the bench Adding or changing benchmarks label Mar 24, 2025
@pasabanov pasabanov added this to the First Release Version milestone Mar 24, 2025
@pasabanov pasabanov self-assigned this Mar 24, 2025
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@pasabanov pasabanov force-pushed the bench branch 2 times, most recently from f7346be to 9486282 Compare March 24, 2025 14:32
@pasabanov pasabanov added the config Configuring the project label Mar 24, 2025
@pasabanov pasabanov force-pushed the bench branch 4 times, most recently from a2d15ab to e17e699 Compare March 24, 2025 15:36
1. Dependencies:
   - Added submodule `https://github.com/google/benchmark` to `benches/deps/benchmark`.

2. Benchmarks:
   - Introduced a suite of benchmarks for various interpolation methods:
     - Polynomial coefficient evaluation and interpolation (Lagrange, Improved Lagrange, Newton) in `benches/poly`;
     - Barycentric formula interpolation in `benches/misc`;
     - Step, Linear, Quadratic, and Cubic spline interpolation in `benches/spline`.

3. CI:
   - Updated `.github/workflows/clang-tidy.yml` to include files from the `benches` directory in static analysis.

4. IDE Configuration:
   - Added run configurations for benchmarks in `.idea/runConfigurations`,
     specifying flags `--benchmark_color=yes --benchmark_counters_tabular=yes`.
@pasabanov pasabanov merged commit bb771dd into main Mar 24, 2025
7 checks passed
@pasabanov pasabanov deleted the bench branch March 24, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bench Adding or changing benchmarks config Configuring the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants