Skip to content
Snippets Groups Projects
  • Kubo Kovac's avatar
    8d1dd944
    use environments to lazily initialize benchmarks · 8d1dd944
    Kubo Kovac authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    if we only need to run a few benchmarks,
    e.g. `text-benchmarks Pure/drop/Text+tiny`
    it's wasteful to initialize all of them
    (and read all the test data in memory - all
    the test data is a few hundreds of MB, but
    we read it in several tests, as different types,
    and most seriously, as String - which turns this
    into GBs of memory)
    8d1dd944
    History
    use environments to lazily initialize benchmarks
    Kubo Kovac authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    if we only need to run a few benchmarks,
    e.g. `text-benchmarks Pure/drop/Text+tiny`
    it's wasteful to initialize all of them
    (and read all the test data in memory - all
    the test data is a few hundreds of MB, but
    we read it in several tests, as different types,
    and most seriously, as String - which turns this
    into GBs of memory)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Concat.hs 785 B