Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Testsuite sdl-space fails in 2.5.5.0 #298

Open
Vekhir opened this issue Dec 17, 2023 · 0 comments
Open

Testsuite sdl-space fails in 2.5.5.0 #298

Vekhir opened this issue Dec 17, 2023 · 0 comments

Comments

@Vekhir
Copy link

Vekhir commented Dec 17, 2023

The issue in #191 occurs again with GHC 9.6.3 and sdl2 2.5.5.0:

Running 1 test suites...
Test suite sdl-space: RUNNING...

pollEvent

  Case             Allocated  GCs
  pollEvent 1          1,376    0
  pollEvent 10         1,376    0
  pollEvent 100        1,376    0
  pollEvent 1000       1,376    0
  pollEvent 10000      1,376    0

pollEvent+clear

  Case                     Allocated  GCs
  pollEvent + clear 1          1,888    0
  pollEvent + clear 10         2,968    0
  pollEvent + clear 100        2,968    0
  pollEvent + clear 1000       2,968    0
  pollEvent + clear 10000      2,968    0

pollEvent+present

  Case                      Allocated  GCs
  pollEvent + present 1         1,888    0
  pollEvent + present 10        2,968    0
  pollEvent + present 100       2,968    0
  pollEvent + present 1000      2,968    0

pollEvent+drawColor

  Case                        Allocated  GCs
  pollEvent + drawColor 1         1,920    0
  pollEvent + drawColor 10        3,000    0
  pollEvent + drawColor 100       3,000    0
  pollEvent + drawColor 1000      3,000    0
  pollEvent + drawColor 2000      3,000    0

pollEvent+drawRect

  Case                       Allocated  GCs
  pollEvent + drawRect 1         1,952    0
  pollEvent + drawRect 10        3,032    0
  pollEvent + drawRect 100       3,032    0
  pollEvent + drawRect 1000      3,032    0

animated rect

  Case                Allocated  GCs
  animated rect 1         1,952    0
  animated rect 10        3,032    0
  animated rect 100       3,032    0
  animated rect 1000      3,032    0
  animated rect 2000      3,032    0

animated rects

  Case                 Allocated  GCs
  animated rects 1         2,480    0
  animated rects 10        3,848    0
  animated rects 100       6,728    0
  animated rects 1000     35,528    0
  animated rects 2000     67,528    0
  animated rects 3000     99,528    0

Check problems:
  /animated rects/animated rects 100
    Allocated >4KB! Allocations should be constant.
  /animated rects/animated rects 1000
    Allocated >4KB! Allocations should be constant.
  /animated rects/animated rects 2000
    Allocated >4KB! Allocations should be constant.
  /animated rects/animated rects 3000
    Allocated >4KB! Allocations should be constant.
Test suite sdl-space: FAIL
Test suite logged to: dist/test/sdl2-2.5.5.0-sdl-space.log
0 of 1 test suites (0 of 1 test cases) passed.

GHC 9.0.2, 9.2.8, and 9.4.8 are fine (with respective dependency versions)

System information

OS: Arch Linux
Linux: 6.6.7-arch1-1
GHC: 9.6.3
(haskell-)sdl2: 2.5.5.0
sdl2: 2.28.5-1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant