Skip to content
  • Ian Lynagh's avatar
    Make some perf tests always use -static · abefa538
    Ian Lynagh authored
    Compiling with -dynamic (perhaps due to -fPIC being enabled?) seems
    to require significantly more allocation:
    
    =====> T1969(normal) 1 of 14 [0, 0, 0]
    cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T1969.hs   +RTS -V0 -tT1969.comp.stats --machine-readable -RTS -dcore-lint >T1969.comp.stderr 2>&1
    bytes allocated 669128520 is more than 1% greater than the expected value, 641959976 648379575.76
    *** unexpected failure for T1969(normal)
    
    =====> T4801(normal) 3 of 14 [0, 1, 0]
    cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T4801.hs   +RTS -V0 -tT4801.comp.stats --machine-readable -RTS  >T4801.comp.stderr 2>&1
    max_bytes_used 26928312 is more than 15% greater than the expected value, 18500000 21275000.0
    peak_megabytes_allocated 66 is more than 20% greater than the expected value, 50 60.0
    bytes allocated 522280144 is more than 10% greater than the expected value, 360243576 396267933.6
    *** unexpected failure for T4801(normal)
    
    =====> T783(normal) 9 of 14 [0, 2, 0]
    cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T783.hs   +RTS -V0 -tT783.comp.stats --machine-readable -RTS  >T783.comp.stderr 2>&1
    bytes allocated 506284808 is more than 10% greater than the expected value, 436927840 480620624.0
    *** unexpected failure for T783(normal)
    abefa538