[commit: ghc] master: Remote GHCi: batch the creation of strings (7cb1fae)

git at git.haskell.org git at git.haskell.org
Tue Feb 2 08:21:40 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7cb1fae2d6ec90b10708a2631cd1069561177bd4/ghc

>---------------------------------------------------------------

commit 7cb1fae2d6ec90b10708a2631cd1069561177bd4
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Feb 1 16:19:10 2016 +0000

    Remote GHCi: batch the creation of strings
    
    Summary:
    This makes a big performance difference especially when loading a
    large number of modules and using parallel compilation (ghci -jN).
    
    Test Plan:
    * validate
    * `ghci -fexternal-interpreter` in `nofib/real/anna`
    
    Reviewers: niteria, bgamari, ezyang, austin, hvr, erikd
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1876
    
    GHC Trac Issues: #11100


>---------------------------------------------------------------

7cb1fae2d6ec90b10708a2631cd1069561177bd4
 compiler/ghci/ByteCodeAsm.hs   |  58 ++++++++++++++--
 compiler/ghci/ByteCodeGen.hs   |   2 +-
 compiler/ghci/ByteCodeLink.hs  |   5 +-
 compiler/ghci/ByteCodeTypes.hs |   1 +
 libraries/ghci/GHCi/Message.hs | 149 +++++++++++++++++++++--------------------
 libraries/ghci/GHCi/Run.hs     |   8 +++
 libraries/ghci/SizedSeq.hs     |   6 ++
 7 files changed, 148 insertions(+), 81 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 7cb1fae2d6ec90b10708a2631cd1069561177bd4


More information about the ghc-commits mailing list