Better perf

Simon Peyton Jones simonpj at microsoft.com
Thu Mar 9 15:17:06 UTC 2017


Interesting!

I keep nofib/Simon-nofib-notes for per-benchmark notes on perf.

Would you like to add a note for 'binary-trees' pointing to these emails?  So if someone later is looking for perf changes in binary-trees, they have some back-pointers to chase up.

Thanks

Simon

|  -----Original Message-----
|  From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of
|  Joachim Breitner
|  Sent: 09 March 2017 15:10
|  To: ghc-devs at haskell.org
|  Subject: Re: Better perf
|  
|  Hi,
|  
|  Am Dienstag, den 07.03.2017, 22:55 +0000 schrieb 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.
|  
|  Turns out that my commit
|  Add rule mapFB c (λx.x) = c
|  fixed that regression:
|  https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fperf.
|  haskell.org%2Fghc%2F%23revision%2F2fa44217c1d9722227297eefb0d6c6aed7e1
|  28ca&data=02%7C01%7Csimonpj%40microsoft.com%7C874797bc62de4b6aecf208d4
|  66fe7720%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6362466904875493
|  08&sdata=ysGORaGgIlhCc88uQHB3v0sh5LNWhFY06iSgnTm6Pgo%3D&reserved=0
|  
|  Maybe there is just a performance cliff there, and these jumps don’t
|  really mean anything.
|  
|  Greetings,
|  Joachim
|  
|  --
|  Joachim “nomeata” Breitner
|    mail at joachim-breitner.de|  https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.j
|  oachim-
|  breitner.de%2F&data=02%7C01%7Csimonpj%40microsoft.com%7C874797bc62de4b
|  6aecf208d466fe7720%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636246
|  690487549308&sdata=HxOTFdoh4hIqXVbPCgZOwMjob%2B572b1ymbAdBEXTF6A%3D&re
|  served=0
|    XMPP: nomeata at joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
|    Debian Developer: nomeata at debian.org


More information about the ghc-devs mailing list