RE: Better perf

2017-03-07 Thread Simon Peyton Jones via ghc-devs
| But: binary-trees runtime increases by 5%.

David: might you look to see if there is any obvious reason for this 
regression?  We could just accept it, but it's always good to know why, and to 
document it.

Thanks

Simon

| -Original Message-
| From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Joachim
| Breitner
| Sent: 07 March 2017 10:43
| To: ghc-devs@haskell.org
| Subject: Re: Better perf
| 
| Hi,
| 
| perf.haskell.org has something to say about these:
| 
| Am Montag, den 06.03.2017, 15:45 + schrieb Simon Peyton Jones via
| ghc-devs:
| > I’ve just committed this patch sequence
| > fb9ae288088a3eabc4e1bb4e86fa473a3881d2e2 Make FloatOut/SetLevels
| > idemoptent on bottoming functions
| 
| increases lambda runtime by 3%. Maybe an environment-dependent
| performance cliff, given that you did not report this regression in your
| nofib listing.
| 
| > 995ab74b3c55fe3a0299bd94b49e948c942e76d6 Comments only
| 
| No change reported. Good :-)
| 
| > 1163f4f2fe9aabd722c963497c67c5f8c71ef71b Tiny refactor
| 
| No change reported.
| 
| > 9b2c73ea8082199245bfa6a28390b70b38f87fd1 Make TH_Roles2 less fragile
| 
| No change reported.
| 
| > 9304df5230a7a29d3e992916d133e462b854e55f Fix CSE (again) on literal
| > strings
| 
| This is where most of the changes are:
| https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fperf.has
| kell.org%2Fghc%2F%23revision%2F9304df5230a7a29d3e992916d133e462b854e55f
| ata=02%7C01%7Csimonpj%40microsoft.com%7C68ad9d20aa794e70cdb708d46546c5ff%
| 7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636244802039385263=pvj
| YNwtA3NHHxF7z7bwagYX5Cjun8%2FIztPvXEO1AtdY%3D=0
| 
| There are some nice runtime improvements in cryptarithm1 (-12%), fasta,
| integer and scs (each -3%).
| 
| But: binary-trees runtime increases by 5%.
| 
| 
| This was your daily performance weather report.
| 
| Joachim
| 
| --
| Joachim “nomeata” Breitner
|   m...@joachim-breitner.de •
| https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.joac
| him-
| breitner.de%2F=02%7C01%7Csimonpj%40microsoft.com%7C68ad9d20aa794e70c
| db708d46546c5ff%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636244802039
| 385263=hbp839x4Boa3J6gY4sOchfHGsLZeHiEsNatxsSv08iQ%3D=0
|   XMPP: nome...@joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
|   Debian Developer: nome...@debian.org
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Getting exceptions right

2017-03-07 Thread Simon Peyton Jones via ghc-devs
I have elaborated a bit.

Can you go further to a clear set of proposals?

| -Original Message-
| From: David Feuer [mailto:da...@well-typed.com]
| Sent: 07 March 2017 18:35
| To: Simon Peyton Jones 
| Cc: ghc-devs@haskell.org
| Subject: Getting exceptions right
| 
| I've put together a wiki page describing the issues I think we need to
| address, and laying out the model I think we want to implement for
| precise exceptions. Hopefully, this will help us figure out what we need
| to do to get a better story here.
| 
| https://ghc.haskell.org/trac/ghc/wiki/FixingExceptions
| 
| Thanks,
| David Feuer
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Windows build broken again

2017-03-07 Thread Ben Gamari
Simon Peyton Jones via ghc-devs  writes:

> The Windows build is broken again.  Here's the tail of the log
>
Yes, I opened a ticket (#13375) about this earlier. Running,

"C:/msys64/home/ben/ghc/inplace/bin/ghc-pkg.exe" recache

is sufficient to work around the issue it seems.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Windows build broken again

2017-03-07 Thread lonetiger

This last email was the first one I’ve received from you.

From: Ben Gamari
Sent: Tuesday, March 7, 2017 18:50
To: Phyx; David Macek; simo...@microsoft.com; ghc-devs@haskell.org
Subject: Re: Windows build broken again

Phyx  writes:

> https://ghc.haskell.org/trac/ghc/ticket/13375
>
Are people not receiving my messages pointing out this ticket? I've
mentioned it twice now but I get the impression that these messages
aren't being seen.

Cheers,

- Ben


___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Better perf

2017-03-07 Thread Ben Gamari
Simon Peyton Jones via ghc-devs  writes:

> I've just committed this patch sequence
>
> fb9ae288088a3eabc4e1bb4e86fa473a3881d2e2 Make FloatOut/SetLevels idemoptent 
> on bottoming functions
>
> 995ab74b3c55fe3a0299bd94b49e948c942e76d6 Comments only
>
> 1163f4f2fe9aabd722c963497c67c5f8c71ef71b Tiny refactor
>
> 9b2c73ea8082199245bfa6a28390b70b38f87fd1 Make TH_Roles2 less fragile
>
> 9304df5230a7a29d3e992916d133e462b854e55f Fix CSE (again) on literal strings
> In my final validate run (after updating to HEAD) I saw
>
> Unexpected stat failures:
>
>perf/space_leaks/T4029.run  T4029 [stat too good] (ghci)
>
This one is rather interesting since I have also been seeing this for
quite some time locally, but Harbormaster consistently disagrees.
Moreover, it passes locally if my machine isn't under load. I
haven't yet investigated why allocations are so inconsistent.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Windows build broken again

2017-03-07 Thread Ben Gamari
Phyx  writes:

> https://ghc.haskell.org/trac/ghc/ticket/13375
>
Are people not receiving my messages pointing out this ticket? I've
mentioned it twice now but I get the impression that these messages
aren't being seen.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Windows build broken again

2017-03-07 Thread Ben Gamari
Simon Peyton Jones via ghc-devs  writes:

> Windows build still broken.  Please please could someone fix?
> It's something to do with the testsuite Python script

This is #13375. I have a fix in D3289. It's currently validating.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Getting exceptions right

2017-03-07 Thread David Feuer
I've put together a wiki page describing the issues I think we need to 
address, and laying out the model I think we want to implement for precise 
exceptions. Hopefully, this will help us figure out what we need to do to get a 
better story here.

https://ghc.haskell.org/trac/ghc/wiki/FixingExceptions

Thanks,
David Feuer
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Travis again over time

2017-03-07 Thread Joachim Breitner
Hi,

ok, one of these patches brought the build time on Travis down to very
nice 1h again:
https://github.com/ghc/ghc/compare/749740f9c3cb...8ca4bb1ce9d9

The build would be marked as passing if it were not for
integerConstantFolding which is marked as

test('integerConstantFolding',
 [when(compiler_debugged(), expect_broken(11006))], run_command,
 ['$MAKE -s --no-print-directory integerConstantFolding'])

but when Travis runs the build without -DDEBUG, then it still reports
an unexepcted pass, so the compiler_debugged doesn’t quite work as
expected:
https://s3.amazonaws.com/archive.travis-ci.org/jobs/208399920/log.txt

I am not sure why this does not work as expected on travis. If someone
knowledgeable of the test suite driver would like to have a look,
that’d be awesome.

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  m...@joachim-breitner.de • https://www.joachim-breitner.de/
  XMPP: nome...@joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
  Debian Developer: nome...@debian.org

signature.asc
Description: This is a digitally signed message part
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Better perf

2017-03-07 Thread Joachim Breitner
Hi,

perf.haskell.org has something to say about these:

Am Montag, den 06.03.2017, 15:45 + schrieb Simon Peyton Jones via ghc-devs:
> I’ve just committed this patch sequence
> fb9ae288088a3eabc4e1bb4e86fa473a3881d2e2 Make FloatOut/SetLevels idemoptent 
> on bottoming functions

increases lambda runtime by 3%. Maybe an environment-dependent
performance cliff, given that you did not report this regression in
your nofib listing.

> 995ab74b3c55fe3a0299bd94b49e948c942e76d6 Comments only

No change reported. Good :-)

> 1163f4f2fe9aabd722c963497c67c5f8c71ef71b Tiny refactor

No change reported.

> 9b2c73ea8082199245bfa6a28390b70b38f87fd1 Make TH_Roles2 less fragile

No change reported.

> 9304df5230a7a29d3e992916d133e462b854e55f Fix CSE (again) on literal strings

This is where most of the changes are:
https://perf.haskell.org/ghc/#revision/9304df5230a7a29d3e992916d133e462b854e55f

There are some nice runtime improvements in cryptarithm1 (-12%), fasta,
integer and scs (each -3%).

But: binary-trees runtime increases by 5%.


This was your daily performance weather report.

Joachim

-- 
Joachim “nomeata” Breitner
  m...@joachim-breitner.de • https://www.joachim-breitner.de/
  XMPP: nome...@joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
  Debian Developer: nome...@debian.org

signature.asc
Description: This is a digitally signed message part
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Windows build broken again

2017-03-07 Thread Phyx
https://ghc.haskell.org/trac/ghc/ticket/13375

On Tue, 7 Mar 2017, 08:05 David Macek,  wrote:

> On 4. 3. 2017 22:01, Simon Peyton Jones via ghc-devs wrote:
> > Exception: stderr from command:
> ['"/c/code/HEAD/inplace/bin/ghc-pkg.exe"', 'dump']
>
> Pinpointing the failure. I guess `ghc-pkg dump` is not supposed to write
> to stderr, but it does. Unfortunately, the test driver doesn't seem to tell
> us what's the error from ghc-pkg.
>
> --
> David Macek
>
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Windows build broken again

2017-03-07 Thread David Macek
On 4. 3. 2017 22:01, Simon Peyton Jones via ghc-devs wrote:
> Exception: stderr from command: ['"/c/code/HEAD/inplace/bin/ghc-pkg.exe"', 
> 'dump']

Pinpointing the failure. I guess `ghc-pkg dump` is not supposed to write to 
stderr, but it does. Unfortunately, the test driver doesn't seem to tell us 
what's the error from ghc-pkg.

-- 
David Macek



smime.p7s
Description: S/MIME Cryptographic Signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs