Skip to content

Supplement the tests by comparing the benchmark results across different platforms. #31

Closed

Description

@EndrII

We need to add one more action that will trigger an additional test of all noise functions across all three platforms. It should wait for completion and then compare the results; they must match perfectly, given the same input parameters.

Activity

  1. added theissue type on Nov 12, 2026
  2. reopened this on Nov 12, 2026
  3. changed the title [-]add support of tests[/-] [+]Supplement the tests by comparing the benchmark results across different platforms.[/+] on Nov 12, 2026
  4. QuasarAppCI commented on Nov 12, 2026

    @QuasarAppCI
    Member

    Checklist (issue #31):

    • Analyze the issue and the existing CI/test setup
    • Add a cross-platform benchmark test covering all OpenSimplex2F noise functions (same seed, same input parameters)
    • Add a new GitHub Actions workflow that runs the benchmark on all three platforms (Linux, Windows, macOS)
    • Make the workflow wait for all three platform jobs and compare the results byte-for-byte (they must match perfectly)
    • Verify locally: build + run the benchmark, output is deterministic
    • Run git diff check, push branch task_31 and create the PR
    • Update the checklist and set the label to waiting-for-review
  5. QuasarAppCI commented on Nov 12, 2026

    @QuasarAppCI
    Member

    Checklist (issue #31) — completed, PR: #33

    • Analyze the issue and the existing CI/test setup
    • Add a cross-platform benchmark test covering all OpenSimplex2F noise functions (same seed, same input parameters) — tests/test_OpenSimplex2F_cross_platform.c evaluates all nine noise functions (2D/3D/4D variants), 37107 values, and prints the exact binary64 bit pattern of every result plus an FNV-1a checksum
    • Add a new GitHub Actions workflow that runs the benchmark on all three platforms (Linux, Windows, macOS) — .github/workflows/cross-platform-compare.yml, benchmark matrix job
    • Make the workflow wait for all three platform jobs and compare the results byte-for-byte (they must match perfectly) — compare job with needs: benchmark, cmp + sha256/FNV-1a checksums
    • Verify locally: build + run the benchmark, output is deterministic (re-run and an -O0 build produce bit-identical reports; existing PNG test still passes 3/3)
    • Run git diff check, push branch task_31 and create the PR (Cross-platform noise benchmark comparison (issue 31) #33)
    • Update the checklist and set the label to waiting-for-review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions