[commit: ghc] ghc-8.0: Remote GHCi: batch the creation of strings (2cd828e)

git at git.haskell.org git at git.haskell.org
Tue Feb 2 16:43:10 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/2cd828eed8112f0faaebfa8576f402792a3a3d03/ghc

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

commit 2cd828eed8112f0faaebfa8576f402792a3a3d03
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
    
    (cherry picked from commit 7cb1fae2d6ec90b10708a2631cd1069561177bd4)


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

2cd828eed8112f0faaebfa8576f402792a3a3d03
 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 2cd828eed8112f0faaebfa8576f402792a3a3d03


More information about the ghc-commits mailing list