Git Product home page Git Product logo

jemalloc-haskell's Introduction

jemalloc-haskell

Haskell binding for jemalloc.

Make sure you have built jemalloc and pkg-config can find it. Our benchmarks compared:

  • ghc block allocator
  • glib malloc(CentOS 7.0)
  • jemalloc

They performs pretty much the same. So unless you have special use cases, you probably won't need it. Please do benchmarks for your application to see if it's a improvement or not.

jemalloc-haskell's People

Contributors

winterland1989 avatar

Stargazers

 avatar Vyacheslav Hashov avatar Elliot Cameron avatar Daniel Kahlenberg avatar

Watchers

James Cloos avatar  avatar Vyacheslav Hashov avatar  avatar  avatar

jemalloc-haskell's Issues

Can't build the benchmarks with stack and Cabal-1.22.5

~/s/jemalloc-haskell (master|…) $ stack build
Warning: File listed in bench/jemalloc-haskell-bench.cabal file does not exist: ChangeLog.md
jemalloc-haskell-bench-0.1.0.0: configure (exe)
jemalloc-haskell-0.1.0.0: configure (lib)
Completed 2 action(s).
Log files have been written to: /home/simon/src/jemalloc-haskell/.stack-work/logs/

--  While building package jemalloc-haskell-0.1.0.0 using:
      /home/simon/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 configure --with-ghc=/home/simon/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --with-ghc-pkg=/home/simon/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/simon/.stack/snapshots/x86_64-linux/lts-6.30/7.10.3/pkgdb --package-db=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/pkgdb --libdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/lib --bindir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/bin --datadir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/share --libexecdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/libexec --sysconfdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/etc --docdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/doc/jemalloc-haskell-0.1.0.0 --htmldir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/doc/jemalloc-haskell-0.1.0.0 --haddockdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/doc/jemalloc-haskell-0.1.0.0 --dependency=base=base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d --dependency=bytestring=bytestring-0.10.6.0-9a873bcf33d6ce2fd2698ce69e2c1c66 --enable-tests --enable-benchmarks
    Process exited with code: ExitFailure 1
    Logs have been written to: /home/simon/src/jemalloc-haskell/.stack-work/logs/jemalloc-haskell-0.1.0.0.log

    Configuring jemalloc-haskell-0.1.0.0...
    Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3: The pkg-config package 'jemalloc'
    is required but it could not be found.


--  While building package jemalloc-haskell-bench-0.1.0.0 using:
      /home/simon/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 configure --with-ghc=/home/simon/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --with-ghc-pkg=/home/simon/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/simon/.stack/snapshots/x86_64-linux/lts-6.30/7.10.3/pkgdb --package-db=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/pkgdb --libdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/lib --bindir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/bin --datadir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/share --libexecdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/libexec --sysconfdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/etc --docdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/doc/jemalloc-haskell-bench-0.1.0.0 --htmldir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/doc/jemalloc-haskell-bench-0.1.0.0 --haddockdir=/home/simon/src/jemalloc-haskell/.stack-work/install/x86_64-linux/lts-6.30/7.10.3/doc/jemalloc-haskell-bench-0.1.0.0 --dependency=async=async-2.1.1-8442e0a448d78605532fa2b1025646fe --dependency=base=base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d --dependency=bytestring=bytestring-0.10.6.0-9a873bcf33d6ce2fd2698ce69e2c1c66 --enable-tests --enable-benchmarks
    Process exited with code: ExitFailure 1
    Logs have been written to: /home/simon/src/jemalloc-haskell/.stack-work/logs/jemalloc-haskell-bench-0.1.0.0.log

    Configuring jemalloc-haskell-bench-0.1.0.0...
    Warning: 'hs-source-dirs: ../' is a relative path outside of the source tree.
    This will not work when generating a tarball with 'sdist'.
    Warning: 'hs-source-dirs: ../' is a relative path outside of the source tree.
    This will not work when generating a tarball with 'sdist'.
    Warning: 'hs-source-dirs: ../' is a relative path outside of the source tree.
    This will not work when generating a tarball with 'sdist'.
    Warning: The 'license-file' field refers to the file 'LICENSE' which does not
    exist.
    Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3: The pkg-config package 'jemalloc'
    is required but it could not be found.

The resolver is lts-6.30.

As I'm not even quite sure whether this is what you asked for on Reddit, maybe you should give some details on what kind of collaboration you're looking for in your README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.